function menu_tab_root_path

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

File

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

Code

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