You are here

function menu_item_delete_submit in Drupal 6

Same name and namespace in other branches
  1. 7 modules/menu/menu.admin.inc \menu_item_delete_submit()

Submit function for the delete button on the menu item editing form.

1 string reference to 'menu_item_delete_submit'
menu_edit_item in modules/menu/menu.admin.inc
Menu callback; Build the menu link editing form.

File

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

Code

function menu_item_delete_submit($form, &$form_state) {
  $form_state['redirect'] = 'admin/build/menu/item/' . $form_state['values']['menu']['mlid'] . '/delete';
}