You are here

function textimage_preset_delete_confirm_submit in Textimage 5

Same name and namespace in other branches
  1. 5.2 textimage_admin.inc \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.module, line 576

Code

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