You are here

function wysiwyg_template_delete_confirm_submit in Wysiwyg API template plugin 7.2

Execute node deletion.

File

./wysiwyg_template.admin.inc, line 329
Administrative page callbacks for the Wysiwyg Template module.

Code

function wysiwyg_template_delete_confirm_submit($form, &$form_state) {
  if ($form_state['values']['confirm']) {
    wysiwyg_template_delete_template($form['#wysiwyg_template']['name']);
  }
  $form_state['redirect'] = 'admin/config/content/wysiwyg-templates';
  return;
}