Skip navigation
Help

menu_tab_root_path

6 menu.inc menu_tab_root_path()
7 menu.inc menu_tab_root_path()

Returns the router path, or the path of the parent tab of a default local task.

Related topics

1 call to menu_tab_root_path()

File

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

Code

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