function bueditor_editor_options in BUEditor 6.2
Same name and namespace in other branches
- 6 bueditor.admin.inc \bueditor_editor_options()
- 7 admin/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 133
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;
}