ckeditor_test.module
Same filename in other branches
File
-
core/
modules/ ckeditor5/ tests/ modules/ ckeditor_test/ ckeditor_test.module
View source
<?php
/**
* @file
* Implements hooks for the CKEditor test module.
*/
declare (strict_types=1);
/**
* Implements hook_editor_info_alter().
*/
function ckeditor_test_editor_info_alter(array &$editors) {
// Drupal 9 used to have an editor called ckeditor. Copy the Unicorn editor to
// it to be able to test upgrading to CKEditor 5.
$editors['ckeditor'] = $editors['unicorn'];
}
Functions
Title | Deprecated | Summary |
---|---|---|
ckeditor_test_editor_info_alter | Implements hook_editor_info_alter(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.