1 menu.admin.inc | menu_reset_item_confirm($form, &$form_state, $item) |
Menu callback; reset a single modified menu link.
File
- core/
modules/ menu/ menu.admin.inc, line 777 - Admin page callbacks for the Menu module.
Code
function menu_reset_item_confirm($form, &$form_state, $item) {
$form['item'] = array('#type' => 'value', '#value' => $item);
return confirm_form($form, t('Are you sure you want to reset the link %item to its default values?', array('%item' => $item['link_title'])), 'admin/structure/menu/manage/' . $item['menu_name'], t('Any customizations will be lost. This action cannot be undone.'), t('Reset'));
}