You are here

photos.schema.yml in Album Photos 6.0.x

config/schema/photos.schema.yml

File

config/schema/photos.schema.yml
View source
  1. # Schema for the configuration files of the photos module.
  2. photos.settings:
  3. type: config_object
  4. label: 'Photos settings'
  5. mapping:
  6. album_link_override:
  7. type: string
  8. label: 'Override default album link with a view.'
  9. album_photo_limit:
  10. type: integer
  11. label: 'Album photo limit.'
  12. multi_upload_default_field:
  13. type: string
  14. label: 'Multi-upload field.'
  15. node_field_album_photos_list_view:
  16. type: string
  17. label: 'Default view for album photos list field on photos node.'
  18. photos_access_photos:
  19. type: boolean
  20. label: 'Enable photos access.'
  21. photos_additional_sizes:
  22. type: integer
  23. label: 'Number of sizes to select from.'
  24. photos_album_column_count:
  25. type: integer
  26. label: 'Number of columns in album grid view.'
  27. photos_album_display_type:
  28. type: string
  29. label: 'Album display type, list or grid.'
  30. photos_clean_title:
  31. type: boolean
  32. label: 'Clean filenames when used as image title.'
  33. photos_cover_imagesize:
  34. type: string
  35. label: 'Default cover image size.'
  36. photos_display_colorbox_max_height:
  37. type: integer
  38. label: 'Default max height for colorbox galleries.'
  39. photos_display_colorbox_max_width:
  40. type: integer
  41. label: 'Default max width for colorbox galleries.'
  42. photos_display_full_imagesize:
  43. type: string
  44. label: 'Default full view image size.'
  45. photos_display_full_viewnum:
  46. type: integer
  47. label: 'Default number of thumbnails to display on full node view.'
  48. photos_display_imageorder:
  49. type: string
  50. label: 'Default image order.'
  51. photos_display_list_imagesize:
  52. type: string
  53. label: 'Default image style on album list view.'
  54. photos_display_page_display:
  55. type: integer
  56. label: 'Type of display on node full view.'
  57. photos_display_page_user:
  58. type: boolean
  59. label: 'Allow user to edit node page settings.'
  60. photos_display_teaser_display:
  61. type: integer
  62. label: 'Type of display on node teaser view.'
  63. photos_display_teaser_imagesize:
  64. type: string
  65. label: 'Default image style for node teaser view.'
  66. photos_display_teaser_user:
  67. type: boolean
  68. label: 'Allow user to edit teaser settings.'
  69. photos_display_teaser_viewnum:
  70. type: integer
  71. label: 'Default number of thumbnails to display on teaser node view.'
  72. photos_display_user:
  73. type: boolean
  74. label: 'Allow user to edit individual album settings.'
  75. photos_display_view_imagesize:
  76. type: string
  77. label: 'Default image style for album view.'
  78. photos_display_viewpager:
  79. type: integer
  80. label: 'Number of images to display on album page.'
  81. photos_image_count:
  82. type: boolean
  83. label: 'Enable image count.'
  84. photos_legacy_view_mode:
  85. type: boolean
  86. label: 'Enable legacy view mode.'
  87. photos_num:
  88. type: integer
  89. label: 'Number of fields on the classic upload form.'
  90. photos_pager_imagesize:
  91. type: string
  92. label: 'Image style for photo information block pager.'
  93. photos_plupload_status:
  94. type: boolean
  95. label: 'Enable plupload module integration.'
  96. photos_size:
  97. type: sequence
  98. label: 'Image style options available in album node settings.'
  99. sequence:
  100. type: mapping
  101. mapping:
  102. style:
  103. type: string
  104. label: 'Image style.'
  105. name:
  106. type: string
  107. label: 'Size name.'
  108. photos_size_max:
  109. type: string
  110. label: 'Maximum image dimensions.'
  111. photos_upzip:
  112. type: boolean
  113. label: 'Enable zip file upload.'
  114. photos_user_count_cron:
  115. type: boolean
  116. label: 'Enable image count during cron.'
  117. photos_pnum_authenticated:
  118. type: integer
  119. label: 'Default number of albums allowed for authenticated users.'
  120. photos_pnum_administrator:
  121. type: integer
  122. label: 'Default number of albums allowed for administrator users.'
  123. upload_form_mode:
  124. type: integer
  125. label: 'Classic upload form, entity form or any other options.'
  126. user_albums_link_override:
  127. type: string
  128. label: 'Override default user albums view.'
  129. user_images_link_override:
  130. type: string
  131. label: 'Override default user images view.'
  132. view_mode_rearrange_album_page:
  133. type: string
  134. label: 'The view mode to use for images on this page.'
  135. view_mode_rearrange_image_page:
  136. type: string
  137. label: 'The view mode to use for images on this page.'
  138. field.formatter.settings.photos_album:
  139. type: mapping
  140. label: 'Photos album display type.'
  141. mapping:
  142. photos_display_type:
  143. type: string
  144. label: 'Display type'
  145. field.formatter.settings.photos_image:
  146. type: mapping
  147. label: 'Photos image display type.'
  148. mapping:
  149. image_link:
  150. type: string
  151. label: 'Link image to'
  152. image_style:
  153. type: string
  154. label: 'Image style'
  155. field.formatter.settings.photos_image_media:
  156. type: mapping
  157. label: 'Photos image media display type.'
  158. mapping:
  159. image_link:
  160. type: string
  161. label: 'Link image to'
  162. image_style:
  163. type: string
  164. label: 'Image style'
  165. media.type.photos:
  166. type: config_entity
  167. mapping:
  168. id:
  169. type: string
  170. label: 'Machine name'
  171. label:
  172. type: label
  173. label: 'Name'
  174. description:
  175. type: text
  176. label: 'Description'
  177. source:
  178. type: string
  179. label: 'Source'
  180. source_configuration:
  181. type: media.source.[%parent.source]
  182. mapping:
  183. source_field:
  184. type: string
  185. label: 'Source field'
  186. queue_thumbnail_downloads:
  187. type: boolean
  188. label: 'Whether the thumbnail downloads should be queued'
  189. new_revision:
  190. type: boolean
  191. label: 'Whether a new revision should be created by default'
  192. field_map:
  193. type: sequence
  194. label: 'Field map'
  195. sequence:
  196. type: string
  197. source_field:
  198. type: string
  199. label: 'Source field'