function cacheflush_delete_preset_form in CacheFlush 7
Same name and namespace in other branches
- 7.2 cacheflush.preset.inc \cacheflush_delete_preset_form()
Callback function after drupal_get_form().
1 string reference to 'cacheflush_delete_preset_form'
- cacheflush_menu in ./
cacheflush.module - Implements hook_menu().
File
- ./
cacheflush.preset.inc, line 180 - Cacheflush module add/edit form for presets.
Code
function cacheflush_delete_preset_form($form, &$form_state, $preset_id) {
$desc = t('Are you sure you want to delete the preset? This action cannot be undone.');
$ques = t('Are you sure?');
$form_state['cacheflush_preset_id'] = $preset_id;
return confirm_form($form, $ques, 'admin/config/development/cacheflush', $desc);
}