You are here

function pagerer_preset_delete_form in Pagerer 7

Preset delete form.

1 string reference to 'pagerer_preset_delete_form'
pagerer_menu in ./pagerer.module
Implements hook_menu().

File

./pagerer.admin.inc, line 385
Pagerer administration

Code

function pagerer_preset_delete_form($form, &$form_state) {
  $preset_name = $form_state['build_info']['args'][0];
  return confirm_form($form, t('Delete preset %preset', array(
    '%preset' => $preset_name,
  )), _PAGERER_CONFIG_PATH, t('Are you sure you want to delete preset %preset ?', array(
    '%preset' => $preset_name,
  )), t('Delete'), t('Cancel'));
}