config_entity_example.schema.yml

Same filename in other branches
  1. 3.x modules/config_entity_example/config/schema/config_entity_example.schema.yml
  2. 8.x-1.x config_entity_example/config/schema/config_entity_example.schema.yml
modules/config_entity_example/config/schema/config_entity_example.schema.yml

File

modules/config_entity_example/config/schema/config_entity_example.schema.yml

View source
  1. # Schema for the configuration files of the Config Entity Example module.
  2. # This schema tells the config system how to read our config YML files.
  3. # See for example the file config/config_entity_example.robot.marvin.yml, which
  4. # contains our default config entity.
  5. # Documentation for schema files like this one is available on
  6. # https://drupal.org/node/1905070
  7. config_entity_example.robot.*:
  8. type: config_entity
  9. label: 'Robot'
  10. mapping:
  11. id:
  12. type: string
  13. label: 'Robot id'
  14. uuid:
  15. type: string
  16. label: 'UUID'
  17. label:
  18. type: label
  19. label: 'Label'
  20. neural_system:
  21. type: boolean
  22. label: 'Neural system'
  23. langcode:
  24. type: string
  25. label: 'Default language'