You are here

function textimage_preset_delete_confirm_submit in Textimage 7.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. 6.2 textimage_admin.inc \textimage_preset_delete_confirm_submit()

Todo.

File

./textimage.admin.inc, line 557
Textimage admin page callback

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/config/media/textimage/preset/list');
}