1 system.install system_update_1040()

Notify administrators if a non-core version of CKEditor module is present.

Related topics

File

core/modules/system/system.install, line 2731
Install, update and uninstall functions for the system module.

Code

function system_update_1040() {
  $path = backdrop_get_path('module', 'ckeditor');
  if ($path && strpos($path, 'core/modules/ckeditor') === FALSE) {
    backdrop_set_message(t('Backdrop core now provides a bundled CKEditor module. A different copy of CKEditor module has been located at %path. To use the new CKEditor module, disable and then uninstall the current module, remove it from your installation, and then enable the new CKEditor module from the modules page. For more information see the <a href="https://docs.backdropcms.org/node/42827" target="_blank">CKEditor change notice</a>.', array('%path' => BACKDROP_ROOT . '/' . $path)), 'warning');
  }
}