You are here

function menu_list_system_menus in Drupal 7

Same name and namespace in other branches
  1. 8 core/includes/menu.inc \menu_list_system_menus()
  2. 6 includes/menu.inc \menu_list_system_menus()
  3. 9 core/includes/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 modules/simpletest/tests/upgrade/upgrade.menu.test
Test a successful upgrade.
menu_block_view_alter in modules/menu/menu.module
Implements hook_block_view_alter().
menu_delete_menu_confirm_submit in modules/menu/menu.admin.inc
Delete a custom menu and all links in it.
menu_delete_menu_page in modules/menu/menu.admin.inc
Menu callback; check access and get a confirm form for deletion of a custom menu.
menu_edit_menu in modules/menu/menu.admin.inc
Menu callback; Build the form that handles the adding/editing of a custom menu.

... See full list

File

includes/menu.inc, line 1816
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',
  );
}