You are here

locale_test.schema.yml in Drupal 10

core/modules/locale/tests/modules/locale_test/config/schema/locale_test.schema.yml

File

core/modules/locale/tests/modules/locale_test/config/schema/locale_test.schema.yml
View source
  1. # Schema for the configuration files of the Locale Test module.
  2. locale_test.no_translation:
  3. type: config_object
  4. label: 'No translation settings'
  5. mapping:
  6. test:
  7. type: string
  8. label: 'Test'
  9. # See \Drupal\Tests\locale\Kernel\LocaleConfigSubscriberTest
  10. translatable: true
  11. locale_test.translation:
  12. type: config_object
  13. label: 'translation settings'
  14. mapping:
  15. test:
  16. type: string
  17. label: 'Test'
  18. # See \Drupal\Tests\locale\Kernel\LocaleConfigSubscriberTest
  19. translatable: true
  20. locale_test.translation_multiple:
  21. type: config_object
  22. label: 'translation settings'
  23. mapping:
  24. test:
  25. type: string
  26. label: 'Test'
  27. # See \Drupal\Tests\locale\Kernel\LocaleConfigSubscriberTest
  28. translatable: true
  29. test_multiple:
  30. type: mapping
  31. label: 'Multiple settings'
  32. mapping:
  33. string:
  34. type: string
  35. label: 'A string'
  36. translatable: true
  37. another_string:
  38. type: string
  39. label: 'Another string'
  40. translatable: true
  41. test_after_multiple:
  42. type: boolean
  43. label: 'Test after multiple'
  44. test_after_multiple:
  45. type: mapping
  46. label: 'Test after multiple settings'
  47. mapping:
  48. string:
  49. type: string
  50. label: 'A string'
  51. translatable: true
  52. another_string:
  53. type: string
  54. label: 'Another string'
  55. translatable: true