You are here

function bueditor_editor_options in BUEditor 6

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

Editor options.

1 call to bueditor_editor_options()
bueditor_role_form in ./bueditor.admin.inc
Role-editor form

File

./bueditor.admin.inc, line 124

Code

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