function bueditor_set_quick_import in BUEditor 7
Same name and namespace in other branches
- 6.2 admin/bueditor.admin.inc \bueditor_set_quick_import()
Allow quick import of predefined editors by ajax.
1 call to bueditor_set_quick_import()
- bueditor_editor_import_form in admin/
bueditor.admin.inc - Editor import form.
File
- admin/
bueditor.admin.inc, line 1032
Code
function bueditor_set_quick_import() {
$path = drupal_get_path('module', 'bueditor');
$setting['BUE']['imp'] = array(
'editors' => bueditor_importable_names(),
'dir' => $path . '/import/',
);
drupal_add_js($path . '/admin/bueditor.import.js', array(
'preprocess' => FALSE,
));
drupal_add_js($setting, 'setting');
}