You are here

function cacheflush_ui_delete_form in CacheFlush 7.3

Confirm Form for deleting an existing entity.

1 string reference to 'cacheflush_ui_delete_form'
cacheflush_ui_menu in modules/cacheflush_ui/cacheflush_ui.module
Implements hook_menu().

File

modules/cacheflush_ui/includes/cacheflush_ui.forms.inc, line 73

Code

function cacheflush_ui_delete_form($form, &$form_state, $entity) {
  $question = t('Are you sure you want to delete this preset?');
  return confirm_form($form, $question, cacheflush_ui_get_path(), t('This action cannot be undone.'));
}