function CKEditorTest::getDefaultContentsCssConfig

Same name in other branches
  1. 8.9.x 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 558

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,
    ];
}

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