function menu_list_system_menus

7.x menu.inc menu_list_system_menus()
6.x menu.inc menu_list_system_menus()
8.x menu.inc menu_list_system_menus()

Returns an array containing the names of system-defined (default) menus.

Related topics

12 calls to menu_list_system_menus()
MenuUpgradePathTestCase::testMenuUpgrade in drupal/modules/simpletest/tests/upgrade/upgrade.menu.test
Test a successful upgrade.
menu_block_view_alter in drupal/modules/menu/menu.module
Implements hook_block_view_alter().
menu_delete_menu_confirm_submit in drupal/modules/menu/menu.admin.inc
Delete a custom menu and all links in it.
menu_delete_menu_page in drupal/modules/menu/menu.admin.inc
Menu callback; check access and get a confirm form for deletion of a custom menu.
menu_edit_menu in drupal/modules/menu/menu.admin.inc
Menu callback; Build the form that handles the adding/editing of a custom menu.

... See full list

File

drupal/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',
  );
}