You are here

protected function CKEditorTest::getDefaultContentsCssConfig in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php \Drupal\Tests\ckeditor\Kernel\CKEditorTest::getDefaultContentsCssConfig()
2 calls to CKEditorTest::getDefaultContentsCssConfig()
CKEditorTest::testBuildContentsCssJSSetting in core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php
Tests CKEditor::buildContentsCssJSSetting().
CKEditorTest::testGetJSSettings in core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php
Tests CKEditor::getJSSettings().

File

core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php, line 551

Class

CKEditorTest
Tests for the 'CKEditor' text editor plugin.

Namespace

Drupal\Tests\ckeditor\Kernel

Code

protected function getDefaultContentsCssConfig() {
  $query_string = '?0=';
  return [
    $this->fileUrlGenerator
      ->generateString('core/modules/ckeditor/css/ckeditor-iframe.css') . $query_string,
    $this->fileUrlGenerator
      ->generateString('core/modules/system/css/components/align.module.css') . $query_string,
  ];
}