You are here

function menu_position_edit_item_submit in Menu Position 6

Same name and namespace in other branches
  1. 7.2 menu_position.admin.inc \menu_position_edit_item_submit()
  2. 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'
_menu_position_form_menu_edit_item_alter in ./menu_position.admin.inc
Implements hook_form_FORM_ID_alter().

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');
}