You are here

function menu_reset_item_submit in Drupal 5

Process menu reset item form submissions.

File

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

Code

function menu_reset_item_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/build/menu';
}