You are here

function menu_item_delete_submit in Drupal 7

Same name and namespace in other branches
  1. 6 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 424
Administrative page callbacks for menu module.

Code

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