You are here

function bueditor_confirm_delete_form_submit in BUEditor 5

File

./bueditor.module, line 359

Code

function bueditor_confirm_delete_form_submit($form_id, $edit) {
  $editor = bueditor_editors(arg(3));
  bueditor_editor_delete($editor->eid);
  drupal_set_message(t('!name editor has been deleted.', array(
    '!name' => theme('placeholder', $editor->name),
  )));
  drupal_goto('admin/settings/bueditor');
}