Functions

Primary tabs

Name Locationsort descending Description Direct uses Strings
_menu_item_localize drupal/core/includes/menu.inc Localizes the router item title using t() or another callback. 2
_menu_translate drupal/core/includes/menu.inc Handles dynamic path translation and menu access control. 4
_menu_link_map_translate drupal/core/includes/menu.inc Translates the path elements in the map using any to_arg helper function. 2
menu_tail_to_arg drupal/core/includes/menu.inc Returns a string containing the path relative to the current index.
menu_tail_load drupal/core/includes/menu.inc Loads the path as one string relative to the current index.
_menu_link_translate drupal/core/includes/menu.inc Provides menu link access control, translation, and argument handling. 7
menu_item_route_access drupal/core/includes/menu.inc Checks access to a menu item by mocking a request for a path. 2
menu_get_object drupal/core/includes/menu.inc Gets a loaded object from a router item. 12
menu_tree drupal/core/includes/menu.inc Renders a menu tree based on the current path. 3 1
menu_tree_output drupal/core/includes/menu.inc Returns a rendered menu tree. 7
menu_tree_all_data drupal/core/includes/menu.inc Gets the data structure representing a named menu tree. 4 1
menu_tree_set_path drupal/core/includes/menu.inc Sets the path for determining the active trail of the specified menu tree. 2
menu_tree_get_path drupal/core/includes/menu.inc Gets the path for determining the active trail of the specified menu tree. 1
menu_tree_page_data drupal/core/includes/menu.inc Gets the data structure for a named menu tree, based on the current page. 3 1
menu_build_tree drupal/core/includes/menu.inc Builds a menu tree, translates links, and checks access. 5
_menu_build_tree drupal/core/includes/menu.inc Builds a menu tree. 1 1
menu_tree_collect_node_links drupal/core/includes/menu.inc Collects node links from a given menu tree recursively. 3
menu_tree_check_access drupal/core/includes/menu.inc Checks access and performs dynamic operations for each link in the tree. 4
_menu_tree_check_access drupal/core/includes/menu.inc Sorts the menu tree and recursively checks access for each item. 1
menu_tree_data drupal/core/includes/menu.inc Sorts and returns the built data representing a menu tree. 5
_menu_tree_data drupal/core/includes/menu.inc Builds the data representing a menu tree. 1
template_preprocess_menu_tree drupal/core/includes/menu.inc Implements template_preprocess_HOOK() for theme_menu_tree().
theme_menu_tree drupal/core/includes/menu.inc Returns HTML for a wrapper for a menu sub-tree.
theme_menu_link drupal/core/includes/menu.inc Returns HTML for a menu link and submenu.
theme_menu_local_task drupal/core/includes/menu.inc Returns HTML for a single local task link.
theme_menu_local_action drupal/core/includes/menu.inc Returns HTML for a single local action link.
drupal_help_arg drupal/core/includes/menu.inc Generates elements for the $arg array in the help hook. 5
menu_get_active_help drupal/core/includes/menu.inc Returns the help associated with the active menu item. 1
menu_get_custom_theme drupal/core/includes/menu.inc Gets the custom theme for the current page, if there is one. 3
menu_set_custom_theme drupal/core/includes/menu.inc Sets a custom theme for the current page, if there is one. 2
menu_list_system_menus drupal/core/includes/menu.inc Returns an array containing the names of system-defined (default) menus. 11
menu_main_menu drupal/core/includes/menu.inc Returns an array of links to be rendered as the Main menu. 1
menu_secondary_menu drupal/core/includes/menu.inc Returns an array of links to be rendered as the Secondary links. 1
menu_navigation_links drupal/core/includes/menu.inc Returns an array of links for a navigation menu. 2
menu_local_tasks drupal/core/includes/menu.inc Collects the local tasks (tabs), action links, and the root path. 4
menu_contextual_links drupal/core/includes/menu.inc Retrieves contextual links for a path based on registered local tasks. 1
menu_primary_local_tasks drupal/core/includes/menu.inc Returns the rendered local tasks at the top level. 2
menu_secondary_local_tasks drupal/core/includes/menu.inc Returns the rendered local tasks at the second level. 1
menu_get_local_actions drupal/core/includes/menu.inc Returns the rendered local actions at the current level. 1
menu_tab_root_path drupal/core/includes/menu.inc Returns the router path, or the path for a default local task's parent. 1
menu_local_tabs drupal/core/includes/menu.inc Returns a renderable element for the primary and secondary tabs. 1
theme_menu_local_tasks drupal/core/includes/menu.inc Returns HTML for primary and secondary local tasks.
menu_set_active_menu_names drupal/core/includes/menu.inc Sets (or gets) the active menu for the current page. 2
menu_get_active_menu_names drupal/core/includes/menu.inc Gets the active menu for the current page. 2
menu_set_active_item drupal/core/includes/menu.inc Sets the active path, which determines which page is loaded.
menu_set_active_trail drupal/core/includes/menu.inc Sets the active trail (path to the menu tree root) of the current page. 1 3
menu_link_get_preferred drupal/core/includes/menu.inc Looks up the preferred menu link for a given system path. 3 1
menu_get_active_trail drupal/core/includes/menu.inc Gets the active trail (path to root menu root) of the current page. 5
menu_get_active_breadcrumb drupal/core/includes/menu.inc Gets the breadcrumb for the current page, as determined by the active trail. 2
menu_get_active_title drupal/core/includes/menu.inc Gets the title of the current page, as determined by the active trail. 1 1

Pages

Other projects