Timeline for Adding more variables to menu for use in menu.html.twig
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 15, 2020 at 9:13 | history | edited | CommunityBot | Commonmark migration | |
| Aug 3, 2018 at 21:04 | vote | accept | Amy | ||
| Oct 2, 2017 at 19:01 | comment | added | Amy | Still doesn't work for me. Also I'm not using a block. I'm programmatically rendering the menu by rendering it in preprocess_page and storing it in a twig variable. And I'm assigning these variables inside preprocess_menu not preprocess_menu_block I've tried different versions like $vars['content']['#test_var'] $vars['test_var'] and $vars['#test_var'] all with no luck | |
| Oct 2, 2017 at 18:37 | history | answered | Kevin | CC BY-SA 3.0 |