1.20.x menu.inc menu_tab_root_path()

Returns the router path, or the path for a default local task's parent.

Related topics

File

includes/menu.inc, line 2422
API for the Backdrop menu system.

Code

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