ConfigEntityValidationTestBase::$propertiesWithOptionalValues

Same name and namespace in other branches
  1. 10 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\Config

Code

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.