You are here

ckeditor_test.module in Drupal 10

Helper module for the CKEditor tests.

File

core/modules/ckeditor/tests/modules/ckeditor_test.module
View 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