1.20.x menu.admin.inc menu_item_delete_submit($form, &$form_state)

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

File

modules/menu/menu.admin.inc, line 474
Admin page callbacks for the Menu module.

Code

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