function bueditor_editor_defaults in BUEditor 6.2
Same name and namespace in other branches
- 7 admin/bueditor.admin.inc \bueditor_editor_defaults()
Default values of a new editor.
2 calls to bueditor_editor_defaults()
- bueditor_editor_form in admin/
bueditor.admin.inc - Editor form.
- bueditor_save_import in admin/
bueditor.admin.inc - Save imported editor data. Save icons and library files into specified editor path.
File
- admin/
bueditor.admin.inc, line 873
Code
function bueditor_editor_defaults($name = '') {
return (object) array(
'name' => $name,
'pages' => "node/*\ncomment/*",
'excludes' => 'edit-log',
'iconpath' => '%BUEDITOR/icons',
'librarypath' => '%BUEDITOR/library/bue.min.default.js',
'spriteon' => 0,
'spritename' => '',
);
}