You are here

function bueditor_editor_options in BUEditor 7

Same name and namespace in other branches
  1. 6.2 admin/bueditor.admin.inc \bueditor_editor_options()
  2. 6 bueditor.admin.inc \bueditor_editor_options()

Editor options.

3 calls to bueditor_editor_options()
bueditor_editor_import_form in admin/bueditor.admin.inc
Editor import form.
bueditor_role_form in admin/bueditor.admin.inc
Role-editor form
bueditor_selaction_form in admin/bueditor.admin.inc
Selected buttons actions form.

File

admin/bueditor.admin.inc, line 162

Code

function bueditor_editor_options() {
  static $options;
  if (!isset($options)) {
    $options = array();
    foreach (bueditor_editors('all') as $eid => $editor) {
      $options[$eid] = $editor->name;
    }
  }
  return $options;
}