function menu_delete_menu_page

cis7 menu.admin.inc menu_delete_menu_page($menu)
cle7 menu.admin.inc menu_delete_menu_page($menu)
elmsmedia7 menu.admin.inc menu_delete_menu_page($menu)
icor7 menu.admin.inc menu_delete_menu_page($menu)
meedjum_blog7 menu.admin.inc menu_delete_menu_page($menu)
mooc7 menu.admin.inc menu_delete_menu_page($menu)

Menu callback; check access and get a confirm form for deletion of a custom menu.

5 string references to 'menu_delete_menu_page'
drupal-6.filled.database.php in modules/simpletest/tests/upgrade/drupal-6.filled.database.php
Filled installation of Drupal 6.17, for test purposes.
drupal-6.og-ui.database.php in sites/all/modules/ulmus/og/og_ui/tests/drupal-6.og-ui.database.php
Filled installation of Drupal 6.17, for test purposes.
drupal-6.og.database.php in sites/all/modules/ulmus/og/tests/drupal-6.og.database.php
Filled installation of Drupal 6.17, for test purposes.
menu_menu in modules/menu/menu.module
Implements hook_menu().
og-7.x-1.x.database.php in sites/all/modules/ulmus/og/tests/og-7.x-1.x.database.php
Filled installation of Drupal 7.0, for test purposes.

File

modules/menu/menu.admin.inc, line 511
Administrative page callbacks for menu module.

Code

function menu_delete_menu_page($menu) {
  // System-defined menus may not be deleted.
  $system_menus = menu_list_system_menus();
  if (isset($system_menus[$menu['menu_name']])) {
    return MENU_ACCESS_DENIED;
  }
  return drupal_get_form('menu_delete_menu_confirm', $menu);
}
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.