menu_tab_root_path

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

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

Related topics

Code

includes/menu.inc, line 2221

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