function 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
Code
function menu_item_delete_submit($form, &$form_state) {
$form_state['redirect'] = 'admin/structure/menu/item/' . $form_state['values']['mlid'] . '/delete';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.