You are here

function wysiwyg_enable in Wysiwyg 7.2

Same name and namespace in other branches
  1. 5.2 wysiwyg.install \wysiwyg_enable()
  2. 6.2 wysiwyg.install \wysiwyg_enable()

Implementation of hook_enable().

File

./wysiwyg.install, line 90
Installation functions for Wysiwyg module.

Code

function wysiwyg_enable() {

  // Disable conflicting, obsolete editor integration modules whenever this
  // module is enabled. This is crude, but the only way to ensure no conflicts.
  module_disable(array(
    'ckeditor',
    'editarea',
    'editonpro',
    'editor',
    'fckeditor',
    'freerte',
    'htmlarea',
    'htmlbox',
    'jwysiwyg',
    'markitup',
    'nicedit',
    'openwysiwyg',
    'pegoeditor',
    'quicktext',
    'tinymce',
    'tinymce_autoconf',
    'tinytinymce',
    'whizzywig',
    'widgeditor',
    'wymeditor',
    'xstandard',
    'yui_editor',
  ));
}