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. 11.x 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. views.style.default_summary:
  122. type: views_style
  123. label: 'Summary options'
  124. mapping:
  125. base_path:
  126. type: string
  127. label: 'Base path'
  128. count:
  129. type: boolean
  130. label: 'Display record count with link'
  131. override:
  132. type: boolean
  133. label: 'Override number of items to display'
  134. items_per_page:
  135. type: integer
  136. label: 'Items to display'
  137. views.style.rss:
  138. type: views_style
  139. label: 'RSS Feed'
  140. mapping:
  141. description:
  142. type: label
  143. label: 'RSS description'
  144. views.style.unformatted_summary:
  145. type: views.style.default_summary
  146. label: 'Unformatted'
  147. mapping:
  148. inline:
  149. type: boolean
  150. label: 'Display items inline'
  151. separator:
  152. type: string
  153. label: 'Separator'
  154. views.style.entity_reference:
  155. type: views_style
  156. label: 'Entity Reference list'
  157. mapping:
  158. search_fields:
  159. type: sequence
  160. label: 'Search fields'
  161. sequence:
  162. type: string
  163. label: 'Search field'

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