You are here

function wysiwyg_enable in Wysiwyg 5.2

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

Implementation of hook_enable().

File

./wysiwyg.install, line 39

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',
  ));
}