Version 1
[yaffs-website] / web / core / modules / system / config / schema / system.schema.yml
1 # Schema for the configuration files of the System module.
2
3 system.site:
4   type: config_object
5   label: 'Site information'
6   mapping:
7     uuid:
8       type: string
9       label: 'Site UUID'
10     name:
11       type: label
12       label: 'Site name'
13     mail:
14       type: email
15       label: 'Email address'
16     slogan:
17       type: label
18       label: 'Slogan'
19     page:
20       type: mapping
21       label: 'Pages'
22       mapping:
23         403:
24           type: path
25           label: 'Default 403 (access denied) page'
26         404:
27           type: path
28           label: 'Default 404 (not found) page'
29         front:
30           type: path
31           label: 'Default front page'
32     admin_compact_mode:
33       type: boolean
34       label: 'Compact mode'
35     weight_select_max:
36       type: integer
37       label: 'Weight element maximum value'
38     default_langcode:
39       type: string
40       label: 'Site default language code'
41     mail_notification:
42       type: string
43       label: 'Notification email address'
44
45 system.maintenance:
46   type: config_object
47   label: 'Maintenance mode'
48   mapping:
49     message:
50       type: text
51       label: 'Message to display when in maintenance mode'
52
53 system.authorize:
54   type: config_object
55   label: 'Authorize settings'
56   mapping:
57     filetransfer_default:
58       type: string
59       label: 'Default file transfer protocol'
60
61 system.cron:
62   type: config_object
63   label: 'Cron settings'
64   mapping:
65     threshold:
66       type: mapping
67       label: 'Thresholds'
68       mapping:
69         requirements_warning:
70           type: integer
71           label: 'Requirements warning period'
72         requirements_error:
73           type: integer
74           label: 'Requirements error period'
75     logging:
76       type: integer
77       label: 'Detailed cron logging'
78
79 system.date:
80   type: config_object
81   label: 'Date settings'
82   mapping:
83     first_day:
84       type: integer
85       label: 'First day of week'
86     country:
87       type: mapping
88       label: 'Country'
89       mapping:
90         default:
91           type: string
92           label: 'Default country'
93     timezone:
94       type: mapping
95       label: 'Time zone settings'
96       mapping:
97         default:
98           type: string
99           label: 'Default time zone'
100         user:
101           type: mapping
102           label: 'User'
103           mapping:
104             configurable:
105               type: boolean
106               label: 'Users may set their own time zone'
107             default:
108               type: integer
109               label: 'Time zone for new users'
110             warn:
111               type: boolean
112               label: 'Remind users at login if their time zone is not set'
113
114 system.diff:
115   type: config_object
116   label: 'Diff settings'
117   mapping:
118     context:
119       type: mapping
120       label: 'Context'
121       mapping:
122         lines_leading:
123           type: integer
124           label: 'Number of leading lines in a diff'
125         lines_trailing:
126           type: integer
127           label: 'Number of trailing lines in a diff'
128
129 system.logging:
130   type: config_object
131   label: 'Logging settings'
132   mapping:
133     error_level:
134       type: string
135       label: 'Error messages to display'
136
137 system.performance:
138   type: config_object
139   label: 'Performance settings'
140   mapping:
141     cache:
142       type: mapping
143       label: 'Caching'
144       mapping:
145         page:
146           type: mapping
147           label: 'Page caching'
148           mapping:
149             max_age:
150               type: integer
151               label: 'Max age'
152     css:
153       type: mapping
154       label: 'CSS performance settings'
155       mapping:
156         preprocess:
157           type: boolean
158           label: 'Aggregate CSS files'
159         gzip:
160           type: boolean
161           label: 'Compress CSS files'
162     fast_404:
163       type: mapping
164       label: 'Fast 404 settings'
165       mapping:
166         enabled:
167           type: boolean
168           label: 'Fast 404 enabled'
169         paths:
170           type: string
171           label: 'Regular expression to match'
172         exclude_paths:
173           type: string
174           label: 'Regular expression to not match'
175         html:
176           type: string
177           label: 'Fast 404 page html'
178     js:
179       type: mapping
180       label: 'JavaScript performance settings'
181       mapping:
182         preprocess:
183           type: boolean
184           label: 'JavaScript preprocess'
185         gzip:
186           type: boolean
187           label: 'Compress JavaScript files.'
188     response:
189       type: mapping
190       label: 'Response performance settings'
191       mapping:
192         gzip:
193           type: boolean
194           label: 'Compress cached pages'
195     stale_file_threshold:
196       type: integer
197       label: 'Stale file threshold'
198
199 system.rss:
200   type: config_object
201   label: 'Feed settings'
202   mapping:
203     channel:
204       type: mapping
205       label: 'Feed channel'
206       mapping:
207         description:
208           type: text
209           label: 'Feed description'
210     items:
211       type: mapping
212       label: 'Feed items'
213       mapping:
214         limit:
215           type: integer
216           label: 'Feed item limit'
217         view_mode:
218           type: string
219           label: 'Feed content'
220
221 system.theme:
222   type: config_object
223   label: 'Theme settings'
224   mapping:
225     admin:
226       type: string
227       label: 'Administration theme'
228     default:
229       type: string
230       label: 'Default theme'
231
232 system.menu.*:
233   type: config_entity
234   label: 'Menu'
235   mapping:
236     id:
237       type: string
238       label: 'ID'
239     label:
240       type: label
241       label: 'Label'
242     description:
243       type: label
244       label: 'Menu description'
245     locked:
246       type: boolean
247       label: ''
248
249 system.action.*:
250   type: config_entity
251   label: 'System action'
252   mapping:
253     id:
254       type: string
255       label: 'ID'
256     label:
257       type: label
258       label: 'Label'
259     type:
260       type: string
261       label: 'Type'
262     plugin:
263       type: string
264       label: 'Plugin'
265     configuration:
266       type: action.configuration.[%parent.plugin]
267
268 system.file:
269   type: config_object
270   label: 'File system'
271   mapping:
272     allow_insecure_uploads:
273       type: boolean
274       label: 'Allow insecure uploads'
275     default_scheme:
276       type: string
277       label: 'Default download method'
278     path:
279       type: mapping
280       label: 'Path settings'
281       mapping:
282         temporary:
283           type: string
284           label: 'Temporary directory'
285     temporary_maximum_age:
286       type: integer
287       label: 'Maximum age for temporary files'
288
289 system.image:
290   type: config_object
291   label: 'Image settings'
292   mapping:
293     toolkit:
294       type: string
295       label: 'Toolkit'
296
297 system.image.gd:
298   type: config_object
299   label: 'Image settings'
300   mapping:
301     jpeg_quality:
302       type: integer
303       label: 'JPEG quality'
304
305 system.mail:
306   type: config_object
307   label: 'Mail system'
308   mapping:
309     interface:
310       type: sequence
311       label: 'Interfaces'
312       sequence:
313         type: string
314         label: 'Interface'
315
316 system.theme.global:
317   type: theme_settings
318   label: 'Theme global settings'
319
320 block.settings.system_branding_block:
321   type: block_settings
322   label: 'Branding block'
323   mapping:
324     use_site_logo:
325       type: boolean
326       label: 'Use site logo'
327     use_site_name:
328       type: boolean
329       label: 'Use site name'
330     use_site_slogan:
331       type: boolean
332       label: 'Use site slogan'
333
334 block.settings.system_menu_block:*:
335   type: block_settings
336   label: 'Menu block'
337   mapping:
338     level:
339       type: integer
340       label: 'Starting level'
341     depth:
342       type: integer
343       label: 'Maximum number of levels'
344
345 block.settings.local_tasks_block:
346   type: block_settings
347   label: 'Tabs block'
348   mapping:
349     primary:
350       type: boolean
351       label: 'Whether primary tabs are shown'
352     secondary:
353       type: boolean
354       label: 'Whether secondary tabs are shown'
355
356 condition.plugin.request_path:
357   type: condition.plugin
358   mapping:
359     pages:
360       type: string