ckeditor_test.module in Drupal 9
Same filename and directory in other branches
Helper module for the CKEditor tests.
File
core/modules/ckeditor/tests/modules/ckeditor_test.moduleView source
<?php
/**
* @file
* Helper module for the CKEditor tests.
*/
use Drupal\editor\Entity\Editor;
/**
* Implements hook_ckeditor_css_alter().
*/
function ckeditor_test_ckeditor_css_alter(array &$css, Editor $editor) {
$css[] = \Drupal::service('extension.list.module')
->getPath('ckeditor_test') . '/ckeditor_test.css';
}
Functions
Name | Description |
---|---|
ckeditor_test_ckeditor_css_alter | Implements hook_ckeditor_css_alter(). |