1 menu.inc menu_tab_root_path()

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

Related topics

File

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

Code

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