function menu_reset_item_confirm in Drupal 6
Same name and namespace in other branches
- 7 modules/menu/menu.admin.inc \menu_reset_item_confirm()
Menu callback; reset a single modified item.
1 string reference to 'menu_reset_item_confirm'
- menu_menu in modules/
menu/ menu.module - Implementation of hook_menu().
File
- modules/
menu/ menu.admin.inc, line 587 - Administrative page callbacks for menu module.
Code
function menu_reset_item_confirm(&$form_state, $item) {
$form['item'] = array(
'#type' => 'value',
'#value' => $item,
);
return confirm_form($form, t('Are you sure you want to reset the item %item to its default values?', array(
'%item' => $item['link_title'],
)), 'admin/build/menu-customize/' . $item['menu_name'], t('Any customizations will be lost. This action cannot be undone.'), t('Reset'));
}