function menu_get_names

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 menu.inc menu_get_names()
cle7 menu.inc menu_get_names()
elmsmedia7 menu.inc menu_get_names()
icor7 menu.inc menu_get_names()
meedjum_blog7 menu.inc menu_get_names()
mooc7 menu.inc menu_get_names()

Build a list of named menus.

Related topics

2 calls to menu_get_names()
menu_update_7003 in modules/menu/menu.install
Add missing custom menus to active menus list.
_menu_breadcrumb_get_menus in sites/all/modules/ulmus/menu_breadcrumb/menu_breadcrumb.module
Get the menu selection configuration.

File

includes/menu.inc, line 1776
API for the Drupal menu system.

Code

function menu_get_names() {
  $names = &drupal_static(__FUNCTION__);

  if (empty($names)) {
    $names = db_select('menu_links')->distinct()->fields('menu_links', array('menu_name'))->orderBy('menu_name')->execute()->fetchCol();
  }
  return $names;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.