function menu_item_delete_form

Build a confirm form for deletion of a single menu link.

1 string reference to 'menu_item_delete_form'
menu_item_delete_page in drupal/modules/menu/menu.admin.inc
Menu callback; Check access and present a confirm form for deleting a menu link.

File

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

Code

function menu_item_delete_form($form, &$form_state, $item) {
  $form['#item'] = $item;
  return confirm_form($form, t('Are you sure you want to delete the custom menu link %item?', array(
    '%item' => $item['link_title'],
  )), 'admin/structure/menu/manage/' . $item['menu_name']);
}