function ckeditor_codemirror_ckeditor_plugin in CKEditor CodeMirror 7
Implements hook_ckeditor_plugin().
File
- ./
ckeditor_codemirror.module, line 60 - Main code for CKEditor CodeMirror module.
Code
function ckeditor_codemirror_ckeditor_plugin() {
return array(
'codemirror' => array(
'name' => 'codemirror',
'desc' => t('CodeMirror (Source) Syntax Highlighting. See !addon_page for more details.', array(
'!addon_page' => l(t('addon page'), 'http://ckeditor.com/addon/codemirror'),
)),
'path' => base_path() . libraries_get_path('ckeditor.codemirror') . '/',
),
);
}