views.style.schema.yml

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

File

drupal/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. alignment:
  29. type: string
  30. label: 'Alignment'
  31. fill_single_line:
  32. type: boolean
  33. label: 'Fill up single line'
  34. summary:
  35. type: string
  36. label: 'Table summary'
  37. views.style.table:
  38. type: views_style
  39. label: 'Table'
  40. mapping:
  41. columns:
  42. type: sequence
  43. label: 'Columns'
  44. sequence:
  45. - type: string
  46. label: 'Columns name'
  47. default:
  48. type: string
  49. label: 'Default sort'
  50. info:
  51. type: sequence
  52. label: 'Columns info'
  53. sequence:
  54. - type: mapping
  55. label: 'Column info'
  56. mapping:
  57. sortable:
  58. type: boolean
  59. label: 'Sortable'
  60. default_sort_order:
  61. type: string
  62. label: 'Default order'
  63. align:
  64. type: string
  65. label: 'Align'
  66. separator:
  67. type: string
  68. label: 'Seprator'
  69. empty_column:
  70. type: boolean
  71. label: 'Hide empty columns'
  72. responsive:
  73. type: string
  74. label: 'Responsive'
  75. override:
  76. type: boolean
  77. label: 'Override normal sorting if click sorting is used'
  78. sticky:
  79. type: boolean
  80. label: 'Enable Drupal style "sticky" table headers (Javascript)'
  81. summary:
  82. type: label
  83. label: 'Table summary'
  84. order:
  85. type: string
  86. label: 'Default order'
  87. empty_table:
  88. type: boolean
  89. label: 'Show the empty text in the table'
  90. views.style.default_summary:
  91. type: mapping
  92. label: 'Summary options'
  93. mapping:
  94. base_path:
  95. type: string
  96. label: 'Base path'
  97. count:
  98. type: boolean
  99. label: 'Display record count with link'
  100. override:
  101. type: boolean
  102. label: 'Override number of items to display'
  103. items_per_page:
  104. type: integer
  105. label: 'Items to display'