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
File
- includes/menu.inc, line 1802
- API for the Drupal menu system.
Code
function menu_list_system_menus() {
return array(
'navigation' => 'Navigation',
'management' => 'Management',
'user-menu' => 'User menu',
'main-menu' => 'Main 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/includes!menu.inc/function/menu_list_system_menus/7.x