You are here

gridstack.schema.yml in GridStack 8.2

Same filename and directory in other branches
  1. 8 config/schema/gridstack.schema.yml
config/schema/gridstack.schema.yml

File

config/schema/gridstack.schema.yml
View source
  1. # Schema for the configuration files of the GridStack module.
  2. gridstack.settings:
  3. type: config_object
  4. label: 'GridStack settings'
  5. mapping:
  6. framework:
  7. type: string
  8. label: 'Grid framework'
  9. fw_classes:
  10. type: string
  11. label: 'Framework classes'
  12. no_classes:
  13. type: boolean
  14. label: 'No classes'
  15. library:
  16. type: string
  17. label: 'Grid library'
  18. dev:
  19. type: boolean
  20. label: 'Use non-minified GridStack library'
  21. debug:
  22. type: boolean
  23. label: Debug
  24. optimized:
  25. type: boolean
  26. label: Optimized
  27. palettes:
  28. type: string
  29. label: 'Color palettes'
  30. palettes_pos:
  31. type: string
  32. label: 'Palettes position'
  33. excludes:
  34. type: string
  35. label: 'Exclude optionsets'
  36. html5_ac:
  37. type: boolean
  38. label: 'Use HTML5 autocomplete'
  39. gridstatic:
  40. type: boolean
  41. label: 'Use minimal GridStack'
  42. helpless:
  43. type: boolean
  44. label: 'Remove Help section'
  45. skinless:
  46. type: boolean
  47. label: 'Remove Skin option'
  48. animationless:
  49. type: boolean
  50. label: 'Remove Animation option'
  51. editor_pos:
  52. type: string
  53. label: 'Layout editor position'
  54. gridstack_json:
  55. type: mapping
  56. label: JSON
  57. mapping:
  58. settings:
  59. type: string
  60. label: Settings
  61. breakpoints:
  62. type: string
  63. label: Breakpoints
  64. gridstack_breakpoint:
  65. type: mapping
  66. mapping:
  67. breakpoint:
  68. type: string
  69. label: Breakpoint
  70. column:
  71. type: integer
  72. label: Column
  73. width:
  74. type: integer
  75. label: Width
  76. grids:
  77. type: string
  78. label: Grids
  79. nested:
  80. type: string
  81. label: 'Nested grids'
  82. gridstack_breakpoints:
  83. type: mapping
  84. label: Breakpoints
  85. mapping:
  86. xs:
  87. type: gridstack_breakpoint
  88. label: XS
  89. sm:
  90. type: gridstack_breakpoint
  91. label: SM
  92. md:
  93. type: gridstack_breakpoint
  94. label: MD
  95. lg:
  96. type: gridstack_breakpoint
  97. label: LG
  98. xl:
  99. type: gridstack_breakpoint
  100. label: XL
  101. # GridStack JS settings managed by UI.
  102. gridstack_optionset:
  103. type: mapping
  104. label: 'Options'
  105. mapping:
  106. breakpoints:
  107. type: gridstack_breakpoints
  108. icon:
  109. type: string
  110. label: Icon
  111. type:
  112. type: string
  113. label: Type
  114. use_framework:
  115. type: boolean
  116. label: 'Use static Grid framework'
  117. settings:
  118. type: mapping
  119. label: Settings
  120. mapping:
  121. auto:
  122. type: boolean
  123. label: Auto
  124. cellHeight:
  125. type: integer
  126. label: 'Cell height'
  127. float:
  128. type: boolean
  129. label: Float
  130. minWidth:
  131. type: integer
  132. label: 'Min width'
  133. rtl:
  134. type: boolean
  135. label: RTL
  136. verticalMargin:
  137. type: integer
  138. label: 'Vertical margin'
  139. noMargin:
  140. type: boolean
  141. label: 'No horizontal margin'
  142. # Introduced at v0.5.3.
  143. column:
  144. type: integer
  145. label: 'Amount of columns'
  146. maxRow:
  147. type: integer
  148. label: 'Maximum rows'
  149. # Individual GridStack JS settings managed by UI.
  150. gridstack.optionset.*:
  151. type: config_entity
  152. label: 'GridStack optionset'
  153. mapping:
  154. id:
  155. type: string
  156. label: ID
  157. name:
  158. type: string
  159. label: Name
  160. weight:
  161. type: integer
  162. label: Weight
  163. label:
  164. type: label
  165. label: Label
  166. uuid:
  167. type: string
  168. label: UUID
  169. description:
  170. type: string
  171. label: Description
  172. json:
  173. type: gridstack_json
  174. options:
  175. type: gridstack_optionset
  176. label: Options
  177. # Individual GridStack variant settings managed by UI.
  178. gridstack.variant.*:
  179. type: config_entity
  180. label: 'GridStack optionset'
  181. mapping:
  182. id:
  183. type: string
  184. label: ID
  185. name:
  186. type: string
  187. label: Name
  188. weight:
  189. type: integer
  190. label: Weight
  191. label:
  192. type: label
  193. label: Label
  194. uuid:
  195. type: string
  196. label: UUID
  197. description:
  198. type: string
  199. label: Description
  200. source:
  201. type: string
  202. label: Source
  203. options:
  204. type: mapping
  205. label: Options
  206. mapping:
  207. breakpoints:
  208. type: gridstack_breakpoints
  209. icon:
  210. type: string
  211. label: Icon
  212. # HTML content/layout-related settings managed by GridStack plugins.
  213. gridstack_vanilla:
  214. type: blazy_base
  215. label: 'GridStack display format vanilla settings'
  216. mapping: {}
  217. gridstack_base:
  218. type: blazy_base
  219. label: 'GridStack display format base settings'
  220. mapping:
  221. caption:
  222. type: sequence
  223. label: Captions
  224. sequence:
  225. - type: string
  226. label: 'Caption field'
  227. stamp:
  228. type: sequence
  229. label: Stamps
  230. sequence:
  231. - type: string
  232. field.formatter.settings.gridstack_image:
  233. type: gridstack_vanilla
  234. label: 'GridStack Image display format settings'
  235. field.formatter.settings.gridstack_file:
  236. type: gridstack_vanilla
  237. label: 'GridStack File display format settings'
  238. field.formatter.settings.gridstack_media:
  239. type: gridstack_vanilla
  240. label: 'GridStack Media display format settings'
  241. field.formatter.settings.gridstack_paragraphs:
  242. type: gridstack_vanilla
  243. label: 'GridStack Paragraphs display format settings'