menu_list_system_menus

Versions
6 – 7
menu_list_system_menus()

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

Related topics

▾ 4 functions call 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.

Code

includes/menu.inc, line 1224

<?php
function menu_list_system_menus() {
  return array('navigation', 'primary-links', 'secondary-links');
}
?>
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.