You are here

entity_update_tests.schema.yml in Entity Update 8

modules/entity_update_tests/config/schema/entity_update_tests.schema.yml

File

modules/entity_update_tests/config/schema/entity_update_tests.schema.yml
View source
  1. # Dynamic fields settings.
  2. entity_update_tests.settings:
  3. type: config_object
  4. label: 'Entity update tests config'
  5. mapping:
  6. fields:
  7. type: config_object
  8. label: 'Field status'
  9. mapping:
  10. name:
  11. type: boolean
  12. label: 'Has field name'
  13. description:
  14. type: boolean
  15. label: 'Has field description'
  16. city:
  17. type: boolean
  18. label: 'Has field city'
  19. type:
  20. type: string
  21. label: 'Type field type'
  22. # The config entity schema (entity_update_tests_cfg).
  23. entity_update_tests.entity_update_tests_cfg.*:
  24. type: config_entity
  25. label: 'Test configuration entity'
  26. mapping:
  27. id:
  28. type: string
  29. label: 'ID'
  30. uuid:
  31. type: string
  32. label: 'UUID'
  33. label:
  34. type: label
  35. label: 'Name'