You are here

wysiwyg_mediaembed.module in Wysiwyg Media Embed 6

Same filename and directory in other branches
  1. 7 wysiwyg_mediaembed.module

File

wysiwyg_mediaembed.module
View source
<?php

/**
 * Implementation of hook_wysiwyg_plugin().
 */
function wysiwyg_mediaembed_wysiwyg_plugin($editor, $version) {
  switch ($editor) {
    case 'ckeditor':
      return array(
        'mediaembed' => array(
          'buttons' => array(
            'MediaEmbed' => 'Media Embed',
          ),
          'path' => drupal_get_path('module', 'wysiwyg_mediaembed') . '/plugin/mediaembed',
          'url' => 'http://ckeditor.com/addon/mediaembed',
          'load' => TRUE,
        ),
      );
  }
}

Functions