You are here

system.schema.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/system/config/schema/system.schema.yml
core/modules/system/config/schema/system.schema.yml

File

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