You are here

protected function CKEditorTest::getDefaultInternalConfig 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::getDefaultInternalConfig()
  2. 10 core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php \Drupal\Tests\ckeditor\Kernel\CKEditorTest::getDefaultInternalConfig()
2 calls to CKEditorTest::getDefaultInternalConfig()
CKEditorTest::testGetJSSettings in core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php
Tests CKEditor::getJSSettings().
CKEditorTest::testInternalGetConfig in core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php
Tests Internal::getConfig().

File

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

Class

CKEditorTest
Tests for the 'CKEditor' text editor plugin.

Namespace

Drupal\Tests\ckeditor\Kernel

Code

protected function getDefaultInternalConfig() {
  return [
    'customConfig' => '',
    'pasteFromWordPromptCleanup' => TRUE,
    'resize_dir' => 'vertical',
    'justifyClasses' => [
      'text-align-left',
      'text-align-center',
      'text-align-right',
      'text-align-justify',
    ],
    'entities' => FALSE,
    'disableNativeSpellChecker' => FALSE,
  ];
}