You are here

function textimage_preset_delete_confirm_submit in Textimage 6.2

Same name and namespace in other branches
  1. 5.2 textimage_admin.inc \textimage_preset_delete_confirm_submit()
  2. 5 textimage.module \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, &$form_state) {
  _textimage_preset_delete($form_state['values']['pid']);
  _textimage_flush_cache();
  drupal_set_message(t('Deleted preset %name', array(
    '%name' => $form_state['values']['name'],
  )));
  drupal_goto('admin/build/textimage/preset/list');
}