You are here

function wysiwyg_profile_delete_confirm_submit in Wysiwyg 5.2

Same name and namespace in other branches
  1. 5 wysiwyg.admin.inc \wysiwyg_profile_delete_confirm_submit()
  2. 6.2 wysiwyg.admin.inc \wysiwyg_profile_delete_confirm_submit()
  3. 6 wysiwyg.admin.inc \wysiwyg_profile_delete_confirm_submit()
  4. 7.2 wysiwyg.admin.inc \wysiwyg_profile_delete_confirm_submit()

Submit callback for Wysiwyg profile delete form.

See also

wysiwyg_profile_delete_confirm()

File

./wysiwyg.admin.inc, line 528
Integrate Wysiwyg editors into Drupal.

Code

function wysiwyg_profile_delete_confirm_submit($form_id, &$form_values) {
  $format = $form_values['format'];
  wysiwyg_profile_delete($format->format);
  drupal_set_message(t('Wysiwyg profile for %name has been deleted.', array(
    '%name' => $format->name,
  )));
  return 'admin/settings/wysiwyg';
}