You are here

system.schema.yml in Drupal 8

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.authorize:
  54. type: config_object
  55. label: 'Authorize settings'
  56. mapping:
  57. filetransfer_default:
  58. type: string
  59. label: 'Default file transfer protocol'
  60. system.cron:
  61. type: config_object
  62. label: 'Cron settings'
  63. mapping:
  64. threshold:
  65. type: mapping
  66. label: 'Thresholds'
  67. mapping:
  68. requirements_warning:
  69. type: integer
  70. label: 'Requirements warning period'
  71. requirements_error:
  72. type: integer
  73. label: 'Requirements error period'
  74. logging:
  75. type: integer
  76. label: 'Detailed cron logging'
  77. system.date:
  78. type: config_object
  79. label: 'Date settings'
  80. mapping:
  81. first_day:
  82. type: integer
  83. label: 'First day of week'
  84. country:
  85. type: mapping
  86. label: 'Country'
  87. mapping:
  88. default:
  89. type: string
  90. label: 'Default country'
  91. timezone:
  92. type: mapping
  93. label: 'Time zone settings'
  94. mapping:
  95. default:
  96. type: string
  97. label: 'Default time zone'
  98. user:
  99. type: mapping
  100. label: 'User'
  101. mapping:
  102. configurable:
  103. type: boolean
  104. label: 'Users may set their own time zone'
  105. default:
  106. type: integer
  107. label: 'Time zone for new users'
  108. warn:
  109. type: boolean
  110. label: 'Remind users at login if their time zone is not set'
  111. system.diff:
  112. type: config_object
  113. label: 'Diff settings'
  114. mapping:
  115. context:
  116. type: mapping
  117. label: 'Context'
  118. mapping:
  119. lines_leading:
  120. type: integer
  121. label: 'Number of leading lines in a diff'
  122. lines_trailing:
  123. type: integer
  124. label: 'Number of trailing lines in a diff'
  125. system.logging:
  126. type: config_object
  127. label: 'Logging settings'
  128. mapping:
  129. error_level:
  130. type: string
  131. label: 'Error messages to display'
  132. system.performance:
  133. type: config_object
  134. label: 'Performance settings'
  135. mapping:
  136. cache:
  137. type: mapping
  138. label: 'Caching'
  139. mapping:
  140. page:
  141. type: mapping
  142. label: 'Page caching'
  143. mapping:
  144. max_age:
  145. type: integer
  146. label: 'Max age'
  147. css:
  148. type: mapping
  149. label: 'CSS performance settings'
  150. mapping:
  151. preprocess:
  152. type: boolean
  153. label: 'Aggregate CSS files'
  154. gzip:
  155. type: boolean
  156. label: 'Compress CSS files'
  157. fast_404:
  158. type: mapping
  159. label: 'Fast 404 settings'
  160. mapping:
  161. enabled:
  162. type: boolean
  163. label: 'Fast 404 enabled'
  164. paths:
  165. type: string
  166. label: 'Regular expression to match'
  167. exclude_paths:
  168. type: string
  169. label: 'Regular expression to not match'
  170. html:
  171. type: string
  172. label: 'Fast 404 page html'
  173. js:
  174. type: mapping
  175. label: 'JavaScript performance settings'
  176. mapping:
  177. preprocess:
  178. type: boolean
  179. label: 'JavaScript preprocess'
  180. gzip:
  181. type: boolean
  182. label: 'Compress JavaScript files.'
  183. stale_file_threshold:
  184. type: integer
  185. label: 'Stale file threshold'
  186. system.rss:
  187. type: config_object
  188. label: 'Feed settings'
  189. mapping:
  190. channel:
  191. type: mapping
  192. label: 'Feed channel'
  193. mapping:
  194. description:
  195. type: text
  196. label: 'Feed description'
  197. items:
  198. type: mapping
  199. label: 'Feed items'
  200. mapping:
  201. limit:
  202. type: integer
  203. label: 'Feed item limit'
  204. view_mode:
  205. type: string
  206. label: 'Feed content'
  207. system.theme:
  208. type: config_object
  209. label: 'Theme settings'
  210. mapping:
  211. admin:
  212. type: string
  213. label: 'Administration theme'
  214. default:
  215. type: string
  216. label: 'Default theme'
  217. system.menu.*:
  218. type: config_entity
  219. label: 'Menu'
  220. mapping:
  221. id:
  222. type: string
  223. label: 'ID'
  224. label:
  225. type: label
  226. label: 'Label'
  227. description:
  228. type: label
  229. label: 'Menu description'
  230. locked:
  231. type: boolean
  232. label: ''
  233. system.action.*:
  234. type: config_entity
  235. label: 'System action'
  236. mapping:
  237. id:
  238. type: string
  239. label: 'ID'
  240. label:
  241. type: label
  242. label: 'Label'
  243. type:
  244. type: string
  245. label: 'Type'
  246. plugin:
  247. type: string
  248. label: 'Plugin'
  249. configuration:
  250. type: action.configuration.[%parent.plugin]
  251. system.file:
  252. type: config_object
  253. label: 'File system'
  254. mapping:
  255. allow_insecure_uploads:
  256. type: boolean
  257. label: 'Allow insecure uploads'
  258. default_scheme:
  259. type: string
  260. label: 'Default download method'
  261. path:
  262. type: mapping
  263. label: 'Path settings'
  264. mapping:
  265. temporary:
  266. type: string
  267. label: 'Temporary directory'
  268. temporary_maximum_age:
  269. type: integer
  270. label: 'Maximum age for temporary files'
  271. system.image:
  272. type: config_object
  273. label: 'Image settings'
  274. mapping:
  275. toolkit:
  276. type: string
  277. label: 'Toolkit'
  278. system.image.gd:
  279. type: config_object
  280. label: 'Image settings'
  281. mapping:
  282. jpeg_quality:
  283. type: integer
  284. label: 'JPEG quality'
  285. system.mail:
  286. type: config_object
  287. label: 'Mail system'
  288. mapping:
  289. interface:
  290. type: sequence
  291. label: 'Interfaces'
  292. sequence:
  293. type: string
  294. label: 'Interface'
  295. system.theme.global:
  296. type: theme_settings
  297. label: 'Theme global settings'
  298. block.settings.system_branding_block:
  299. type: block_settings
  300. label: 'Branding block'
  301. mapping:
  302. use_site_logo:
  303. type: boolean
  304. label: 'Use site logo'
  305. use_site_name:
  306. type: boolean
  307. label: 'Use site name'
  308. use_site_slogan:
  309. type: boolean
  310. label: 'Use site slogan'
  311. block.settings.system_menu_block:*:
  312. type: block_settings
  313. label: 'Menu block'
  314. mapping:
  315. level:
  316. type: integer
  317. label: 'Starting level'
  318. depth:
  319. type: integer
  320. label: 'Maximum number of levels'
  321. expand_all_items:
  322. type: boolean
  323. label: 'Expand all items'
  324. block.settings.local_tasks_block:
  325. type: block_settings
  326. label: 'Tabs block'
  327. mapping:
  328. primary:
  329. type: boolean
  330. label: 'Whether primary tabs are shown'
  331. secondary:
  332. type: boolean
  333. label: 'Whether secondary tabs are shown'
  334. condition.plugin.request_path:
  335. type: condition.plugin
  336. mapping:
  337. pages:
  338. type: string