You are here

function menu_tab_root_path in Drupal 7

Same name and namespace in other branches
  1. 6 includes/menu.inc \menu_tab_root_path()

Returns the router path, or the path for a default local task's parent.

Related topics

1 call to menu_tab_root_path()
menu_get_active_help in includes/menu.inc
Returns the help associated with the active menu item.

File

includes/menu.inc, line 2277
API for the Drupal menu system.

Code

function menu_tab_root_path() {
  $links = menu_local_tasks();
  return $links['root_path'];
}