How to get all the menu items below a certain parent in drupal?

Posted by Prem Tiwari | Updated on

If you want to get all the menu items below a certain parent in Drupal? You can turn your function into a more abstract helper function by simply adding a foreach ($tree). then you can use your own logic to output what you want (mlid, in this case). here is my suggestion:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers