You are here

function media_wysiwyg_update_7203 in D7 Media 7.2

Same name and namespace in other branches
  1. 7.4 modules/media_wysiwyg/media_wysiwyg.install \media_wysiwyg_update_7203()
  2. 7.3 modules/media_wysiwyg/media_wysiwyg.install \media_wysiwyg_update_7203()

Move integration with the stand-alone CKEditor module into the Media CKEditor module.

File

modules/media_wysiwyg/media_wysiwyg.install, line 122
Install, update and uninstall functions for the Media WYSIWYG module.

Code

function media_wysiwyg_update_7203() {
  $output = '';
  if (module_exists('ckeditor')) {
    $output .= t('CKEditor integration has been moved to the Media CKEditor module.');
    $output .= t('If you are using the stand-alone CKEditor module in combination with the CKEditor plugin provided by Media WYSIWYG then you must download and enable the <a href="@url">Media CKEditor</a> module.', array(
      '@url' => 'https://www.drupal.org/project/media_ckeditor',
    ));
  }
  return $output;
}