1 menu.admin.inc menu_item_delete_form($form, &$form_state, $item)

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

File

core/modules/menu/menu.admin.inc, line 699
Admin page callbacks for the 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']);
}