function menu_tab_root_path

7.x menu.inc menu_tab_root_path()
6.x 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 drupal-7.x/includes/menu.inc
Returns the help associated with the active menu item.

File

drupal-7.x/includes/menu.inc, line 2253
API for the Drupal menu system.

Code

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