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

Submit function for the 'Delete' button on the menu editing form.

File

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

Code

function menu_custom_delete_submit($form, &$form_state) {
  $form_state['redirect'] = 'admin/structure/menu/manage/' . $form_state['values']['menu_name'] . '/delete';
}