You are here

function menu_reset_item_form_submit in Drupal 4

Process menu reset item form submissions.

File

modules/menu.module, line 475
Allows administrators to customize the site navigation menu.

Code

function menu_reset_item_form_submit($form_id, $form_values) {
  menu_delete_item($form_values['mid']);
  drupal_set_message(t('The menu item was reset to its default settings.'));
  return 'admin/menu';
}