New answers tagged

0

I like to reuse basic block for a lot, so I added a List(text) field called "field_role" With this, I can reuse the basic block type in lots of places, each with unique templates. The following provides template suggestions: function mymodule_theme_suggestions_block_alter(array &$suggestions, array $variables, $hook) { if (isset($variables['...


Top 50 recent answers are included