views.style.schema.yml

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

File

core/modules/views/config/schema/views.style.schema.yml

View source
  1. # Schema for the views style plugins.
  2. views.style.*:
  3. type: views_style
  4. label: 'Default style'
  5. views.style.default:
  6. type: views_style
  7. label: 'Unformatted list'
  8. views.style.html_list:
  9. type: views_style
  10. label: 'HTML List'
  11. mapping:
  12. type:
  13. type: string
  14. label: 'List type'
  15. wrapper_class:
  16. type: string
  17. label: 'Wrapper class'
  18. class:
  19. type: string
  20. label: 'List class'
  21. views.style.grid:
  22. type: views_style
  23. label: 'Grid'
  24. mapping:
  25. columns:
  26. type: integer
  27. label: 'Number of columns'
  28. automatic_width:
  29. type: boolean
  30. label: 'Automatic width'
  31. alignment:
  32. type: string
  33. label: 'Alignment'
  34. row_class_custom:
  35. type: string
  36. label: 'Custom row classes'
  37. row_class_default:
  38. type: boolean
  39. label: 'Default views row classes'
  40. col_class_custom:
  41. type: string
  42. label: 'Custom column classes'
  43. col_class_default:
  44. type: boolean
  45. label: 'Default views column classes'
  46. views.style.grid_responsive:
  47. type: views_style
  48. label: 'Grid - Responsive'
  49. mapping:
  50. columns:
  51. type: integer
  52. label: 'Maximum number of columns'
  53. cell_min_width:
  54. type: integer
  55. label: 'Minimum cell width'
  56. grid_gutter:
  57. type: integer
  58. label: 'Grid gutter'
  59. alignment:
  60. type: string
  61. label: 'Alignment'
  62. views.style.table:
  63. type: views_style
  64. label: 'Table'
  65. mapping:
  66. columns:
  67. type: sequence
  68. label: 'Columns'
  69. sequence:
  70. type: string
  71. label: 'Columns name'
  72. default:
  73. type: string
  74. label: 'Default sort'
  75. info:
  76. type: sequence
  77. label: 'Columns info'
  78. sequence:
  79. type: mapping
  80. label: 'Column info'
  81. mapping:
  82. sortable:
  83. type: boolean
  84. label: 'Sortable'
  85. default_sort_order:
  86. type: string
  87. label: 'Default order'
  88. align:
  89. type: string
  90. label: 'Align'
  91. separator:
  92. type: string
  93. label: 'Separator'
  94. empty_column:
  95. type: boolean
  96. label: 'Hide empty columns'
  97. responsive:
  98. type: string
  99. label: 'Responsive'
  100. override:
  101. type: boolean
  102. label: 'Override normal sorting if click sorting is used'
  103. sticky:
  104. type: boolean
  105. label: 'Enable Drupal style "sticky" table headers'
  106. summary:
  107. type: label
  108. label: 'Summary title'
  109. order:
  110. type: string
  111. label: 'Default order'
  112. empty_table:
  113. type: boolean
  114. label: 'Show the empty text in the table'
  115. caption:
  116. type: label
  117. label: 'Caption for the table'
  118. description:
  119. type: text
  120. label: 'Table description'
  121. class:
  122. type: string
  123. label: 'Table class'
  124. views.style.default_summary:
  125. type: views_style
  126. label: 'Summary options'
  127. mapping:
  128. base_path:
  129. type: string
  130. label: 'Base path'
  131. count:
  132. type: boolean
  133. label: 'Display record count with link'
  134. override:
  135. type: boolean
  136. label: 'Override number of items to display'
  137. items_per_page:
  138. type: integer
  139. label: 'Items to display'
  140. views.style.rss:
  141. type: views_style
  142. label: 'RSS Feed'
  143. mapping:
  144. description:
  145. type: label
  146. label: 'RSS description'
  147. views.style.unformatted_summary:
  148. type: views.style.default_summary
  149. label: 'Unformatted'
  150. mapping:
  151. inline:
  152. type: boolean
  153. label: 'Display items inline'
  154. separator:
  155. type: string
  156. label: 'Separator'
  157. views.style.entity_reference:
  158. type: views_style
  159. label: 'Entity Reference list'
  160. mapping:
  161. search_fields:
  162. type: sequence
  163. label: 'Search fields'
  164. sequence:
  165. type: string
  166. label: 'Search field'

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