function menu_custom_delete_submit in Drupal 7
Same name and namespace in other branches
- 6 modules/menu/menu.admin.inc \menu_custom_delete_submit()
Submit function for the 'Delete' button on the menu editing form.
1 string reference to 'menu_custom_delete_submit'
- menu_edit_menu in modules/
menu/ menu.admin.inc - Menu callback; Build the form that handles the adding/editing of a custom menu.
File
- modules/
menu/ menu.admin.inc, line 518 - Administrative page callbacks for menu module.
Code
function menu_custom_delete_submit($form, &$form_state) {
$form_state['redirect'] = 'admin/structure/menu/manage/' . $form_state['values']['menu_name'] . '/delete';
}