You are here

views.schema.yml in Drupal 9

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

File

core/modules/views/config/schema/views.schema.yml
View source
  1. # Schema for the configuration files of the Views module.
  2. views.settings:
  3. type: config_object
  4. label: 'Views settings'
  5. mapping:
  6. display_extenders:
  7. type: sequence
  8. label: 'Display extenders'
  9. sequence:
  10. type: string
  11. label: 'Display extender'
  12. skip_cache:
  13. type: boolean
  14. label: 'Disable views data caching'
  15. sql_signature:
  16. type: boolean
  17. label: 'Add Views signature to all SQL queries'
  18. ui:
  19. type: mapping
  20. label: 'UI settings'
  21. mapping:
  22. show:
  23. type: mapping
  24. label: 'Live preview settings'
  25. mapping:
  26. additional_queries:
  27. type: boolean
  28. label: 'Show other queries run during render during live preview'
  29. advanced_column:
  30. type: boolean
  31. label: 'Always show advanced display settings'
  32. default_display:
  33. type: boolean
  34. label: 'Always show the default display'
  35. performance_statistics:
  36. type: boolean
  37. label: 'Show performance statistics'
  38. preview_information:
  39. type: boolean
  40. label: 'Show information and statistics about the view during live preview'
  41. sql_query:
  42. type: mapping
  43. label: 'Query settings'
  44. mapping:
  45. enabled:
  46. type: boolean
  47. label: 'Show the SQL query'
  48. where:
  49. type: string
  50. label: 'Show SQL query'
  51. display_embed:
  52. type: boolean
  53. label: 'Allow embedded displays'
  54. always_live_preview:
  55. type: boolean
  56. label: 'Automatically update preview on changes'
  57. exposed_filter_any_label:
  58. type: string
  59. label: 'Label for "Any" value on non-required single-select exposed filters'
  60. field_rewrite_elements:
  61. type: sequence
  62. label: 'Field rewrite elements'
  63. sequence:
  64. type: string
  65. label: 'Element'
  66. views.view.*:
  67. type: config_entity
  68. label: 'View'
  69. mapping:
  70. id:
  71. type: string
  72. label: 'ID'
  73. label:
  74. type: label
  75. label: 'Label'
  76. module:
  77. type: string
  78. label: 'Module'
  79. description:
  80. type: text
  81. label: 'Administrative description'
  82. tag:
  83. type: string
  84. label: 'Tag'
  85. base_table:
  86. type: string
  87. label: 'Base table'
  88. base_field:
  89. type: string
  90. label: 'Base field'
  91. display:
  92. type: sequence
  93. label: 'Displays'
  94. sequence:
  95. type: mapping
  96. label: 'Display settings'
  97. mapping:
  98. id:
  99. type: string
  100. label: 'Machine name'
  101. display_title:
  102. type: text
  103. label: 'Title'
  104. display_plugin:
  105. type: string
  106. label: 'Display plugin'
  107. position:
  108. type: integer
  109. label: 'Position'
  110. display_options:
  111. type: views.display.[%parent.display_plugin]
  112. cache_metadata:
  113. type: mapping
  114. label: 'Cache metadata'
  115. mapping:
  116. max-age:
  117. type: integer
  118. label: 'Cache maximum age'
  119. contexts:
  120. type: sequence
  121. label: 'Cache contexts'
  122. sequence:
  123. type: string
  124. tags:
  125. type: sequence
  126. label: 'Cache tags'
  127. sequence:
  128. type: string
  129. # Deprecated.
  130. cacheable:
  131. type: boolean
  132. label: 'Cacheable'
  133. views_block:
  134. type: block_settings
  135. label: 'View block'
  136. mapping:
  137. views_label:
  138. type: label
  139. label: 'Title'
  140. items_per_page:
  141. type: string
  142. label: 'Items per block'
  143. block.settings.views_block:*:
  144. type: views_block
  145. block.settings.views_exposed_filter_block:*:
  146. type: views_block