function bueditor_set_quick_import in BUEditor 6.2
Same name and namespace in other branches
- 7 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 926
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');
drupal_add_js($setting, 'setting');
}