function editor_ckeditor_init in Editor 7
Implements hook_init().
File
- modules/
editor_ckeditor/ editor_ckeditor.module, line 13 - Adds CKEditor as a supported editor.
Code
function editor_ckeditor_init() {
$path = drupal_get_path('module', 'editor_ckeditor');
// Add the CSS for this module. These aren't in editor_ckeditor.info, because
// they need to be in the CSS_SYSTEM group rather than the CSS_DEFAULT group.
drupal_add_css($path . '/css/plugins/drupalimagecaption/editor_ckeditor.drupalimagecaption.css', array(
'group' => CSS_SYSTEM,
'every_page' => TRUE,
));
}