function menu_list_system_menus in Drupal 6
Same name and namespace in other branches
- 8 core/includes/menu.inc \menu_list_system_menus()
- 7 includes/menu.inc \menu_list_system_menus()
- 9 core/includes/menu.inc \menu_list_system_menus()
Return an array containing the names of system-defined (default) menus.
Related topics
4 calls to menu_list_system_menus()
- menu_delete_menu_confirm_submit in modules/
menu/ menu.admin.inc - Delete a custom menu and all items 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.
File
- includes/
menu.inc, line 1228 - API for the Drupal menu system.
Code
function menu_list_system_menus() {
return array(
'navigation',
'primary-links',
'secondary-links',
);
}