config_test.validation.yml

Same filename in other branches
  1. 9 core/modules/config/tests/config_test/config/install/config_test.validation.yml
  2. 8.9.x core/modules/config/tests/config_test/config/install/config_test.validation.yml
  3. 11.x core/modules/config/tests/config_test/config/install/config_test.validation.yml
core/modules/config/tests/config_test/config/install/config_test.validation.yml
5 string references to 'config_test.validation'
ConstraintsTest::testUuid in core/tests/Drupal/KernelTests/Core/Validation/ConstraintsTest.php
TypedConfigTest::testNotBlankInteractionWithNotNull in core/tests/Drupal/KernelTests/Config/TypedConfigTest.php
Tests the behavior of `NotBlank` on required data.
TypedConfigTest::testSimpleConfigValidation in core/tests/Drupal/KernelTests/Config/TypedConfigTest.php
Tests config validation via the Typed Data API.
TypedConfigTest::testTypedDataAPI in core/tests/Drupal/KernelTests/Config/TypedConfigTest.php
Verifies that the Typed Data API is implemented correctly.
UuidValidatorTest::testUuid in core/tests/Drupal/KernelTests/Core/Validation/UuidValidatorTest.php

File

core/modules/config/tests/config_test/config/install/config_test.validation.yml

View source
  1. llama: llama
  2. cat:
  3. type: kitten
  4. count: 2
  5. giraffe:
  6. hum1: hum1
  7. hum2: hum2
  8. uuid: '7C30C50E-641A-4E34-A7F1-46BCFB9BE5A3'
  9. string__not_blank: 'this is a label'

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