menu_list_system_menus

Versions
6 – 7
menu_list_system_menus()

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

Related topics

▾ 9 functions call menu_list_system_menus()

menu_block_view_alter in modules/menu/menu.module
Implement 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
Implement hook_install().
system_block_info in modules/system/system.module
Implement hook_block_info().
system_block_view in modules/system/system.module
Implement hook_block_view().
toolbar_build in modules/toolbar/toolbar.module
Build the admin menu as a structured array ready for drupal_render().

Code

includes/menu.inc, line 1539

<?php
function menu_list_system_menus() {
  return array(
    'navigation' => 'Navigation',
    'management' => 'Management',
    'user-menu' => 'User menu',
    'main-menu' => 'Main menu',
    'secondary-menu' => 'Secondary menu',
  );
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.