You are here

function tinymce_module_implements_alter in TinyMCE 7

Implements hook_module_implements_alter().

File

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

Code

function tinymce_module_implements_alter(&$implementations, $hook) {

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