Same name and namespace in other branches
  1. 4.6.x includes/menu.inc \theme_menu_tree()
  2. 4.7.x includes/menu.inc \theme_menu_tree()
  3. 5.x includes/menu.inc \theme_menu_tree()
  4. 7.x includes/menu.inc \theme_menu_tree()

Generate the HTML output for a menu tree

Related topics

1 theme call to theme_menu_tree()
menu_tree_output in includes/menu.inc
Returns a rendered menu tree.

File

includes/menu.inc, line 1142
API for the Drupal menu system.

Code

function theme_menu_tree($tree) {
  return '<ul class="menu">' . $tree . '</ul>';
}