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