EditorValidationTest::$propertiesWithRequiredKeys
Same name in other branches
- 10 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 27
Class
- EditorValidationTest
- Tests validation of editor entities.
Namespace
Drupal\Tests\editor\KernelCode
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.