You are here

function wysiwyg_profile_delete_confirm_submit in Wysiwyg 5

Same name and namespace in other branches
  1. 5.2 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 505
Integrate Wysiwyg editors into Drupal.

Code

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