Closed (fixed)
Project:
Twig Tweak
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Feb 2018 at 16:32 UTC
Updated:
14 Feb 2019 at 13:35 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
smk-ka commentedThis patch expands the parameters to
drupal_menu($menu_name, $level = 1, $depth = 0, $expand = FALSE). Setting $expand to TRUE displays the menu tree expanded.The code has been borrowed from Menu Block module.
Comment #4
chi commentedThanks.
Comment #6
dan_rogersIf anyone else stumbles across this, worth noting, this has been committed, at least in 2.x. I have updated the cheat sheet to reflect that the "expand all" is now available.