1 menu.admin.inc | menu_custom_delete_submit($form, &$form_state) |
Submit function for the 'Delete' button on the menu editing form.
File
- core/
modules/ menu/ menu.admin.inc, line 629 - 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';
}