menu_list_system_menus

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

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

Related topics

▾ 10 functions call menu_list_system_menus()

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

Code

drupal/includes/menu.inc, line 1711

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