theme_menu_tree($pid = 1)
drupal/includes/menu.inc, line 555
Generate the HTML for a menu tree.
$pid The parent id of the menu.
| Name | Description |
|---|---|
| Menu system | Define the navigation menus, and route page requests to code based on URLs. |
| Themeable functions | Functions that display HTML, and which can be customized by themes. |
function theme_menu_tree($pid = 1) {
if ($tree = menu_tree($pid)) {
return "\n<ul>\n". $tree ."\n</ul>\n";
}
}