menu_tab_root_path

  1. drupal
    1. 6
    2. 7
Versions
6 – 7 menu_tab_root_path()

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

Related topics

▾ 1 function calls menu_tab_root_path()

menu_get_active_help in drupal/includes/menu.inc
Returns the help associated with the active menu item.

Code

drupal/includes/menu.inc, line 2165

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