function menu_get_menus

cis7 menu.module menu_get_menus($all = TRUE)
cle7 menu.module menu_get_menus($all = TRUE)
elmsmedia7 menu.module menu_get_menus($all = TRUE)
icor7 menu.module menu_get_menus($all = TRUE)
meedjum_blog7 menu.module menu_get_menus($all = TRUE)
mooc7 menu.module menu_get_menus($all = TRUE)

Return an associative array of the custom menus names.


$all: If FALSE return only user-added menus, or if TRUE also include the menus defined by the system.

Return value

An array with the machine-readable names as the keys, and human-readable titles as the values.

30 calls to menu_get_menus()
ckeditor_link_ckeditor_link_menu_settings in sites/all/modules/ulmus/ckeditor_link/includes/
Implementation of hook_ckeditor_link_TYPE_settings().
context_condition_menu::condition_values in sites/all/modules/ulmus/context/plugins/
Override of condition_values().
context_reaction_menu::options_form in sites/all/modules/ulmus/context/plugins/
Provide a form element that allow the admin to chose a menu item.
devel_generate_menu_data in sites/all/modules/ulmus/devel/devel_generate/
devel_generate_menu_form in sites/all/modules/ulmus/devel/devel_generate/devel_generate.module
Generates menus using FormAPI.

... See full list

1 string reference to 'menu_get_menus'
_dhtml_menu_menus in sites/all/modules/local_contrib/dhtml_menu/
Build a human-readable option list for all non-empty menus. Custom menus and book menus are included if the respective modules are enabled.


modules/menu/menu.module, line 783
Allows administrators to customize the site's navigation menus.


function menu_get_menus($all = TRUE) {
  if ($custom_menus = menu_load_all()) {
    if (!$all) {
      $custom_menus = array_diff_key($custom_menus, menu_list_system_menus());
    foreach ($custom_menus as $menu_name => $menu) {
      $custom_menus[$menu_name] = t($menu['title']);
  return $custom_menus;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.