You are here

function bueditor_eop_delete in BUEditor 7

Same name and namespace in other branches
  1. 6.2 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 839

Code

function bueditor_eop_delete($editor) {
  $form = $form_state = array();
  $form_state['build_info']['args'][0] = $editor;
  bueditor_delete_form_submit($form, $form_state);
  return $editor;
}