EditorValidationTest::$propertiesWithRequiredKeys

Same name in other branches
  1. 11.x core/modules/editor/tests/src/Kernel/EditorValidationTest.php \Drupal\Tests\editor\Kernel\EditorValidationTest::propertiesWithRequiredKeys

Type: propertiesWithRequiredKeys

Overrides ConfigEntityValidationTestBase::$propertiesWithRequiredKeys

File

core/modules/editor/tests/src/Kernel/EditorValidationTest.php, line 28

Class

EditorValidationTest
Tests validation of editor entities.

Namespace

Drupal\Tests\editor\Kernel

Code

protected static array $propertiesWithRequiredKeys = [
    'settings' => [
        "'toolbar' is a required key because editor is ckeditor5 (see config schema type editor.settings.ckeditor5).",
        "'plugins' is a required key because editor is ckeditor5 (see config schema type editor.settings.ckeditor5).",
    ],
    'image_upload' => "'status' is a required key.",
];

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