You are here

function ckeditor_video_wysiwyg_plugin in CKEditor Video 7

Implements hook_wysiwyg_plugin().

File

./ckeditor_video.module, line 66
Written by Henri MEDOT <henri.medot[AT]absyx[DOT]fr> http://www.absyx.fr

Code

function ckeditor_video_wysiwyg_plugin($editor, $version) {
  if ($editor == 'ckeditor') {
    return array(
      'video' => array(
        'path' => drupal_get_path('module', 'ckeditor_video') . '/video',
        'load' => TRUE,
        'buttons' => array(
          'Video' => t('Video'),
        ),
      ),
    );
  }
}