function menu_item_delete_page

7.x menu.admin.inc menu_item_delete_page($item)

Menu callback; Check access and present a confirm form for deleting a menu link.

2 string references to 'menu_item_delete_page'
drupal-6.filled.database.php in drupal/modules/simpletest/tests/upgrade/drupal-6.filled.database.php
Filled installation of Drupal 6.17, for test purposes.
menu_menu in drupal/modules/menu/menu.module
Implements hook_menu().

File

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

Code

function menu_item_delete_page($item) {
  // Links defined via hook_menu may not be deleted. Updated items are an
  // exception, as they can be broken.
  if ($item['module'] == 'system' && !$item['updated']) {
    drupal_access_denied();
    return;
  }
  return drupal_get_form('menu_item_delete_form', $item);
}