menu_list_system_menus

  1. drupal
    1. 6
    2. 8
    3. 7
Versions
6 – 8 menu_list_system_menus()

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

Related topics

▾ 11 functions call 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.
menu_get_menus in modules/menu/menu.module
Return an associative array of the custom menus names.
menu_install in modules/menu/menu.install
Implements hook_install().
menu_set_active_menu_names in includes/menu.inc
Set (or get) the active menu for the current page - determines the active trail.
system_block_info in modules/system/system.module
Implements hook_block_info().
system_block_view in modules/system/system.module
Implements hook_block_view().
system_preprocess_block in modules/system/system.module
Implements hook_preprocess_block().

Code

includes/menu.inc, line 1767

<?php
function menu_list_system_menus() {
  return array(
    'navigation' => 'Navigation', 
    'management' => 'Management', 
    'user-menu' => 'User menu', 
    'main-menu' => 'Main menu',
  );
}
?>