On this page
function menu_list_system_menus
menu_list_system_menus()
Returns an array containing the names of system-defined (default) menus.
Related topics
- Menu system
- Define the navigation menus, local actions and tasks, and contextual links.
File
- core/includes/menu.inc, line 85
- API for the Drupal menu system.
Code
function menu_list_system_menus() {
return array(
'tools' => 'Tools',
'admin' => 'Administration',
'account' => 'User account menu',
'main' => 'Main navigation',
'footer' => 'Footer menu',
);
}
© 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/core!includes!menu.inc/function/menu_list_system_menus/8.1.x