menu_tab_root_path
function menu_tab_root_path
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 2263
- API for the Drupal menu system.
Code
function menu_tab_root_path() { $links = menu_local_tasks(); return $links['root_path']; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!menu.inc/function/menu_tab_root_path/7.x