You are here

views.style.schema.yml in Drupal 9

Same filename and directory in other branches
  1. 8 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.table:
  47. type: views_style
  48. label: 'Table'
  49. mapping:
  50. columns:
  51. type: sequence
  52. label: 'Columns'
  53. sequence:
  54. type: string
  55. label: 'Columns name'
  56. default:
  57. type: string
  58. label: 'Default sort'
  59. info:
  60. type: sequence
  61. label: 'Columns info'
  62. sequence:
  63. type: mapping
  64. label: 'Column info'
  65. mapping:
  66. sortable:
  67. type: boolean
  68. label: 'Sortable'
  69. default_sort_order:
  70. type: string
  71. label: 'Default order'
  72. align:
  73. type: string
  74. label: 'Align'
  75. separator:
  76. type: string
  77. label: 'Separator'
  78. empty_column:
  79. type: boolean
  80. label: 'Hide empty columns'
  81. responsive:
  82. type: string
  83. label: 'Responsive'
  84. override:
  85. type: boolean
  86. label: 'Override normal sorting if click sorting is used'
  87. sticky:
  88. type: boolean
  89. label: 'Enable Drupal style "sticky" table headers (JavaScript)'
  90. summary:
  91. type: label
  92. label: 'Summary title'
  93. order:
  94. type: string
  95. label: 'Default order'
  96. empty_table:
  97. type: boolean
  98. label: 'Show the empty text in the table'
  99. caption:
  100. type: label
  101. label: 'Caption for the table'
  102. description:
  103. type: text
  104. label: 'Table description'
  105. views.style.default_summary:
  106. type: views_style
  107. label: 'Summary options'
  108. mapping:
  109. base_path:
  110. type: string
  111. label: 'Base path'
  112. count:
  113. type: boolean
  114. label: 'Display record count with link'
  115. override:
  116. type: boolean
  117. label: 'Override number of items to display'
  118. items_per_page:
  119. type: integer
  120. label: 'Items to display'
  121. views.style.rss:
  122. type: views_style
  123. label: 'RSS Feed'
  124. mapping:
  125. description:
  126. type: label
  127. label: 'RSS description'
  128. views.style.unformatted_summary:
  129. type: views.style.default_summary
  130. label: 'Unformatted'
  131. mapping:
  132. inline:
  133. type: boolean
  134. label: 'Display items inline'
  135. separator:
  136. type: string
  137. label: 'Separator'
  138. views.style.entity_reference:
  139. type: views_style
  140. label: 'Entity Reference list'
  141. mapping:
  142. search_fields:
  143. type: sequence
  144. label: 'Search fields'
  145. sequence:
  146. type: string
  147. label: 'Search field'