function quickbar_menu_tree in Quickbar 6
Same name and namespace in other branches
- 7.2 quickbar.module \quickbar_menu_tree()
- 7 quickbar.module \quickbar_menu_tree()
Retrieve a hierarchy of links representing select portions of the menu.
1 call to quickbar_menu_tree()
- quickbar_footer in ./
quickbar.module - Implementation of hook_footer()
File
- ./
quickbar.module, line 264
Code
function quickbar_menu_tree($menu) {
$links = array();
// Retrieve the menu from the database.
$tree = quickbar_get_menu_tree($menu);
quickbar_menu_tree_links($tree, $links);
return $links;
}