function menu_item_delete_form in Drupal 6
Same name and namespace in other branches
- 4 modules/menu.module \menu_item_delete_form()
- 5 modules/menu/menu.module \menu_item_delete_form()
- 7 modules/menu/menu.admin.inc \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 modules/
menu/ menu.admin.inc - Menu callback; Check access and present a confirm form for deleting a menu link.
File
- 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']);
}