You are here

function textimage_preset_delete_confirm_submit in Textimage 5.2

Same name and namespace in other branches
  1. 5 textimage.module \textimage_preset_delete_confirm_submit()
  2. 6.2 textimage_admin.inc \textimage_preset_delete_confirm_submit()
  3. 7.2 textimage.admin.inc \textimage_preset_delete_confirm_submit()

File

./textimage_admin.inc, line 616

Code

function textimage_preset_delete_confirm_submit($form_id, $form_values) {
  _textimage_preset_delete($form_values['pid']);
  _textimage_flush_cache();
  drupal_set_message(t('Deleted preset %name', array(
    '%name' => $form_values['name'],
  )));
  drupal_goto('admin/build/textimage/preset/list');
}