config_test.types.yml

Same filename and directory in other branches
  1. 8.9.x core/modules/config/tests/config_test/config/install/config_test.types.yml
  2. 10 core/modules/config/tests/config_test/config/install/config_test.types.yml
  3. 11.x core/modules/config/tests/config_test/config/install/config_test.types.yml
core/modules/config/tests/config_test/config/install/config_test.types.yml
3 string references to 'config_test.types'
ConfigCRUDTest::testDataTypes in core/tests/Drupal/KernelTests/Core/Config/ConfigCRUDTest.php
Tests data type handling.
ConfigStorageTestBase::testDataTypes in core/tests/Drupal/KernelTests/Core/Config/Storage/ConfigStorageTestBase.php
Tests storage writing and reading data preserving data type.
SchemaCheckTraitTest::testTrait in core/tests/Drupal/KernelTests/Core/Config/SchemaCheckTraitTest.php
Tests \Drupal\Core\Config\Schema\SchemaCheckTrait.

File

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

View source
  1. array: []
  2. boolean: true
  3. exp: 1.2e+34
  4. float: 3.14159
  5. float_as_integer: !!float 1
  6. hex: 0xC
  7. int: 99
  8. # Symfony 5.1's YAML parser issues a deprecation when reading octal with a
  9. # leading zero, to comply with YAML 1.2. However PECL YAML is still YAML 1.1
  10. # compliant. @todo: revisit parsing of octal once PECL YAML supports YAML 1.2.
  11. # @see https://www.drupal.org/project/drupal/issues/3205480
  12. # octal: 0775
  13. string: string
  14. string_int: '1'

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