0

How can I render out my main menu as entirely expanded? I am working on mobile navigation and need to have the entire tree rendered out in my code for this to work the way I want it to. I do not want to make admins go into the menu and select "expanded" every time they create a child item. Can this be done with a module or

0

I think menu_tree_all_data should do the trick.

You will need to put this in a custom module and then loop over the array to manually build your menu.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.