ConfigEntityValidationTestBase::$propertiesWithOptionalValues
Same name in other branches
- 11.x core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php \Drupal\KernelTests\Core\Config\ConfigEntityValidationTestBase::propertiesWithOptionalValues
The config entity properties whose values are optional (set to NULL).
Type: string[]
See also
\Drupal\Core\Config\Entity\ConfigEntityTypeInterface::getPropertiesToExport()
::testRequiredPropertyValuesMissing()
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityValidationTestBase.php, line 80
Class
- ConfigEntityValidationTestBase
- Base class for testing validation of config entities.
Namespace
Drupal\KernelTests\Core\ConfigCode
protected static array $propertiesWithOptionalValues = [
'_core',
'third_party_settings',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.