You are here

function bueditor_editor_defaults in BUEditor 7

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

Code

function bueditor_editor_defaults($name = '') {
  return (object) array(
    'name' => $name,
    'pages' => "node/*\ncomment/*",
    'excludes' => "edit-log\nedit-menu-description",
    'iconpath' => '%BUEDITOR/icons',
    'librarypath' => '%BUEDITOR/library/bue.min.default.js',
    'spriteon' => 0,
    'spritename' => '',
  );
}