function menu_position_edit_item_submit in Menu Position 6
Same name and namespace in other branches
- 7.2 menu_position.admin.inc \menu_position_edit_item_submit()
- 7 menu_position.admin.inc \menu_position_edit_item_submit()
Process menu and menu item add/edit form submissions for menu_position links.
1 string reference to 'menu_position_edit_item_submit'
File
- ./
menu_position.admin.inc, line 145 - Provides infrequently used functions and hooks for menu_position.
Code
function menu_position_edit_item_submit($form, &$form_state) {
// Redirect to the menu edit form and display a message.
$form_state['redirect'] = 'admin/build/menu-customize/' . $form['menu']['#item']['menu_name'];
drupal_set_message(t('Your configuration was not saved.'), 'error');
}