function theme_menutree_tree in MenuTree 5
Generate the HTML for a menu tree.
Parameters
$pid: The parent id of the menu.
2 theme calls to theme_menutree_tree()
- menutree_display in ./
menutree.module - Display a fully-expanded version of the menu specified on the path
- menutree_tree in ./
menutree.module - Returns a rendered menu tree.
File
- ./
menutree.module, line 211 - This module provides a simple "site map" tree based on the menu system rather than on taxonomies.
Code
function theme_menutree_tree($pid = 1) {
if ($tree = menutree_tree($pid)) {
return "\n<ul class=\"menu\">\n" . $tree . "\n</ul>\n";
}
}