You are here

crop.schema.yml in Crop API 8

Same filename and directory in other branches
  1. 8.2 config/schema/crop.schema.yml
config/schema/crop.schema.yml

File

config/schema/crop.schema.yml
View source
  1. crop.type.*:
  2. type: config_entity
  3. label: 'Crop type'
  4. mapping:
  5. label:
  6. type: label
  7. label: 'Name'
  8. id:
  9. type: string
  10. label: 'Machine-readable name'
  11. description:
  12. type: text
  13. label: 'Description'
  14. aspect_ratio:
  15. type: string
  16. label: 'Aspect ratio'
  17. soft_limit_width:
  18. type: integer
  19. label: 'Soft limit width'
  20. soft_limit_height:
  21. type: integer
  22. label: 'Soft limit height'
  23. hard_limit_width:
  24. type: integer
  25. label: 'Hard limit width'
  26. hard_limit_height:
  27. type: integer
  28. label: 'Hard limit height'
  29. third_party_settings:
  30. type: sequence
  31. label: 'Third party settings'
  32. sequence:
  33. type: crop_type.third_party.[%key]
  34. media_entity.bundle.third_party.crop:
  35. type: mapping
  36. label: 'Crop settings'
  37. mapping:
  38. image_field:
  39. type: string
  40. label: 'Field storing image to be cropped'
  41. image.effect.crop_crop:
  42. type: mapping
  43. label: 'Crop effect configuration'
  44. mapping:
  45. crop_type:
  46. label: 'Crop type'
  47. type: string
  48. crop.settings:
  49. type: config_object
  50. label: 'Crop API settings'
  51. mapping:
  52. flush_derivative_images:
  53. type: boolean
  54. label: 'Indicates whether to flush image derivatives when a crop entity is change'