You are here

function theme_menu_tree in Drupal 6

Same name and namespace in other branches
  1. 4 includes/menu.inc \theme_menu_tree()
  2. 5 includes/menu.inc \theme_menu_tree()
  3. 7 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>';
}