function menu_item_delete_form
7.x menu.admin.inc | menu_item_delete_form( |
6.x menu.admin.inc | menu_item_delete_form(&$form_state, $item) |
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-6.x/
modules/ menu/ menu.admin.inc - Menu callback; Check access and present a confirm form for deleting a menu link.
File
- drupal-6.x/
modules/ menu/ menu.admin.inc, line 567 - Administrative page callbacks for menu module.
Code
function menu_item_delete_form(&$form_state, $item) {
$form['#item'] = $item;
return confirm_form($form, t('Are you sure you want to delete the custom menu item %item?', array('%item' => $item['link_title'])), 'admin/build/menu-customize/' . $item['menu_name']);
}