You are here

function bueditor_eop_delete in BUEditor 6.2

Same name and namespace in other branches
  1. 7 admin/bueditor.admin.inc \bueditor_eop_delete()

Editor delete operation. Mimics editor delete form submission.

1 call to bueditor_eop_delete()
bueditor_eop in admin/bueditor.admin.inc
Prepare and execute if there is any valid editor operation that doesn't require form submission.

File

admin/bueditor.admin.inc, line 736

Code

function bueditor_eop_delete($editor) {
  $form = $form_state = array();
  $form['#parameters'][2] = $editor;
  bueditor_delete_form_submit($form, $form_state);
  return $editor;
}