| 5 menu.inc | theme_menu_tree( |
| 6 menu.inc | theme_menu_tree( |
| 7 menu.inc | theme_menu_tree($variables) |
| 8 menu.inc | theme_menu_tree($variables) |
Generate the HTML for a menu tree.
Parameters
$pid: The parent id of the menu.
Related topics
3 theme calls to theme_menu_tree()
File
- includes/
menu.inc, line 646 - API for the Drupal menu system.
Code
function theme_menu_tree($pid = 1) {
if ($tree = menu_tree($pid)) {
return "\n<ul class=\"menu\">\n" . $tree . "\n</ul>\n";
}
}
Login or register to post comments