image.schema.yml

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

File

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

View source
  1. # Schema for configuration files of the Image module.
  2. image.style.*:
  3. type: config_entity
  4. label: 'Image style'
  5. mapping:
  6. name:
  7. type: string
  8. label:
  9. type: label
  10. label: 'Label'
  11. effects:
  12. type: sequence
  13. sequence:
  14. type: mapping
  15. mapping:
  16. uuid:
  17. type: uuid
  18. id:
  19. type: string
  20. weight:
  21. type: integer
  22. data:
  23. type: image.effect.[%parent.id]
  24. image.effect.*:
  25. type: mapping
  26. label: 'Effect settings'
  27. image.effect.image_crop:
  28. type: image_size
  29. label: 'Image crop'
  30. mapping:
  31. anchor:
  32. label: 'Anchor'
  33. type: string
  34. image.effect.image_convert:
  35. type: mapping
  36. label: 'Convert'
  37. mapping:
  38. extension:
  39. label: 'Extension'
  40. type: string
  41. image.effect.image_resize:
  42. type: image_size
  43. label: 'Image resize'
  44. image.effect.image_rotate:
  45. type: mapping
  46. label: 'Image rotate'
  47. mapping:
  48. degrees:
  49. type: integer
  50. label: 'Rotation angle'
  51. bgcolor:
  52. label: 'Background color'
  53. type: color_hex
  54. random:
  55. type: boolean
  56. label: 'Randomize'
  57. image.effect.image_scale:
  58. type: image_size
  59. label: 'Image scale'
  60. mapping:
  61. upscale:
  62. type: boolean
  63. label: 'Upscale'
  64. # The image desaturate effect has no settings.
  65. image.effect.image_desaturate:
  66. type: sequence
  67. image.effect.image_scale_and_crop:
  68. type: image_size
  69. label: 'Image scale and crop'
  70. mapping:
  71. anchor:
  72. label: 'Anchor'
  73. type: string
  74. image.settings:
  75. type: config_object
  76. mapping:
  77. preview_image:
  78. type: string
  79. label: 'Preview image'
  80. allow_insecure_derivatives:
  81. type: boolean
  82. label: 'Allow insecure image derivatives'
  83. suppress_itok_output:
  84. type: boolean
  85. label: 'Suppress the itok query string for image derivatives'
  86. field.storage_settings.image:
  87. type: field.storage_settings.file
  88. label: 'Image settings'
  89. mapping:
  90. default_image:
  91. type: field_default_image
  92. label: 'Default value'
  93. field.field_settings.image:
  94. type: base_file_field_field_settings
  95. label: 'Image settings'
  96. mapping:
  97. max_resolution:
  98. type: string
  99. label: 'Maximum image resolution'
  100. min_resolution:
  101. type: string
  102. label: 'Minimum image resolution'
  103. alt_field:
  104. type: boolean
  105. label: 'Enable Alt field'
  106. alt_field_required:
  107. type: boolean
  108. label: 'Alt field required'
  109. title_field:
  110. type: boolean
  111. label: 'Enable Title field'
  112. title_field_required:
  113. type: boolean
  114. label: 'Title field required'
  115. default_image:
  116. type: field_default_image
  117. label: 'Default value'
  118. field.value.image:
  119. type: field_default_image
  120. label: 'Default value'
  121. field.formatter.settings.image:
  122. type: mapping
  123. label: 'Image field display format settings'
  124. mapping:
  125. image_link:
  126. type: string
  127. label: 'Link image to'
  128. image_style:
  129. type: string
  130. label: 'Image style'
  131. image_loading:
  132. type: mapping
  133. label: 'Image loading settings'
  134. mapping:
  135. attribute:
  136. type: string
  137. label: 'Loading attribute'
  138. field.formatter.settings.image_url:
  139. type: mapping
  140. label: 'Image URL formatter settings'
  141. mapping:
  142. image_style:
  143. type: string
  144. label: 'Image style'
  145. field.widget.settings.image_image:
  146. type: mapping
  147. label: 'Image field display format settings'
  148. mapping:
  149. progress_indicator:
  150. type: string
  151. label: 'Progress indicator'
  152. preview_image_style:
  153. type: string
  154. label: 'Preview image style'

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