function CKEditorTest::getDefaultDisallowedContentConfig

Same name and namespace in other branches
  1. 8.9.x core/modules/ckeditor/tests/src/Kernel/CKEditorTest.php \Drupal\Tests\ckeditor\Kernel\CKEditorTest::getDefaultDisallowedContentConfig()
2 calls to CKEditorTest::getDefaultDisallowedContentConfig()
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 526

Class

CKEditorTest
Tests for the 'CKEditor' text editor plugin.

Namespace

Drupal\Tests\ckeditor\Kernel

Code

protected function getDefaultDisallowedContentConfig() {
  return [
    '*' => [
      'attributes' => 'on*',
    ],
  ];
}

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