You are here

function quickbar_menu_tree in Quickbar 7

Same name and namespace in other branches
  1. 6 quickbar.module \quickbar_menu_tree()
  2. 7.2 quickbar.module \quickbar_menu_tree()

Retrieve a hierarchy of links representing select portions of the menu.

1 call to quickbar_menu_tree()
quickbar_page_build in ./quickbar.module
Implements hook_page_build()

File

./quickbar.module, line 294

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;
}