You are here

function ckeditor_tabber_wysiwyg_plugin in CKEditor Tabber 7

Implements hook_wysiwyg_plugin().

File

./ckeditor_tabber.module, line 55

Code

function ckeditor_tabber_wysiwyg_plugin($editor) {
  if ($editor == 'ckeditor') {
    $path = drupal_get_path('module', 'ckeditor_tabber') . '/tabber';
    return array(
      'tabber' => array(
        'path' => $path,
        'buttons' => array(
          'addTab' => t('CKEditor Tabber'),
        ),
        'load' => TRUE,
      ),
    );
  }
}