ckeditor_test.module

Same filename in other branches
  1. 9 core/modules/ckeditor/tests/modules/ckeditor_test.module
  2. 10 core/modules/ckeditor5/tests/modules/ckeditor_test/ckeditor_test.module
  3. 11.x core/modules/ckeditor5/tests/modules/ckeditor_test/ckeditor_test.module

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_get_path('module', 'ckeditor_test') . '/ckeditor_test.css';
}

Functions

Title Deprecated Summary
ckeditor_test_ckeditor_css_alter Implements hook_ckeditor_css_alter().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.