function ckeditor_test_editor_info_alter
Same name in other branches
- 10 core/modules/ckeditor5/tests/modules/ckeditor_test/ckeditor_test.module \ckeditor_test_editor_info_alter()
Implements hook_editor_info_alter().
File
-
core/
modules/ ckeditor5/ tests/ modules/ ckeditor_test/ ckeditor_test.module, line 13
Code
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'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.