image.data_types.schema.yml

Same filename in other branches
  1. 9 core/modules/image/config/schema/image.data_types.schema.yml
  2. 8.9.x core/modules/image/config/schema/image.data_types.schema.yml
  3. 10 core/modules/image/config/schema/image.data_types.schema.yml
core/modules/image/config/schema/image.data_types.schema.yml

File

core/modules/image/config/schema/image.data_types.schema.yml

View source
  1. # Basic data types for image.
  2. image_size:
  3. type: mapping
  4. constraints:
  5. FullyValidatable: ~
  6. mapping:
  7. width:
  8. type: integer
  9. label: 'Width'
  10. nullable: true
  11. constraints:
  12. NotBlank:
  13. allowNull: true
  14. height:
  15. type: integer
  16. label: 'Height'
  17. nullable: true
  18. constraints:
  19. NotBlank:
  20. allowNull: true
  21. field_default_image:
  22. type: mapping
  23. mapping:
  24. uuid:
  25. type: uuid
  26. alt:
  27. type: label
  28. label: 'Alternative text'
  29. title:
  30. type: label
  31. label: 'Title'
  32. width:
  33. type: integer
  34. label: 'Width'
  35. height:
  36. type: integer
  37. label: 'Height'

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