You are here

function ckeditor_module_implements_alter in CKEditor for WYSIWYG Module 7

Implements hook_module_implements_alter().

File

includes/ckeditor.wysiwyg.inc, line 23
Provides all integration hooks with WYSIWYG module.

Code

function ckeditor_module_implements_alter(&$implementations, $hook) {

  // WYSIWYG module has a namespace conflict with hook_ckeditor_plugins().
  // This prevents wysiwyg_ckeditor_plugins() from being an implementation of
  // hook_ckeditor_plugins().
  if ($hook === 'ckeditor_plugins') {
    if (isset($implementations['wysiwyg'])) {
      unset($implementations['wysiwyg']);
    }
  }
}