update.schema.yml

Same filename and directory in other branches
  1. 9 core/modules/update/config/schema/update.schema.yml
  2. 8.9.x core/modules/update/config/schema/update.schema.yml
  3. 10 core/modules/update/config/schema/update.schema.yml
core/modules/update/config/schema/update.schema.yml

File

core/modules/update/config/schema/update.schema.yml

View source
  1. # Schema for the configuration files of the Update module.
  2. update.settings:
  3. type: config_object
  4. label: 'Update settings'
  5. constraints:
  6. FullyValidatable: ~
  7. mapping:
  8. check:
  9. type: mapping
  10. label: 'Check settings'
  11. mapping:
  12. disabled_extensions:
  13. type: boolean
  14. label: 'Check for updates of uninstalled modules and themes'
  15. interval_days:
  16. type: integer
  17. label: 'Days since last check'
  18. constraints:
  19. # @see \Drupal\update\UpdateSettingsForm::buildForm()
  20. # The options are daily and weekly.
  21. Choice: [1, 7]
  22. fetch:
  23. type: mapping
  24. label: 'Fetch settings'
  25. mapping:
  26. url:
  27. type: uri
  28. nullable: true
  29. label: 'URL for fetching available update data'
  30. max_attempts:
  31. type: integer
  32. label: 'Maximum attempts'
  33. constraints:
  34. Range:
  35. min: 1
  36. timeout:
  37. type: integer
  38. label: 'Timeout in seconds'
  39. constraints:
  40. Range:
  41. min: 1
  42. notification:
  43. type: mapping
  44. label: 'Notification settings'
  45. mapping:
  46. emails:
  47. type: sequence
  48. label: 'Email addresses to notify when updates are available'
  49. sequence:
  50. type: email
  51. label: 'Email'
  52. threshold:
  53. type: string
  54. label: 'Email notification threshold'
  55. constraints:
  56. # @see \Drupal\update\UpdateSettingsForm::buildForm()
  57. Choice: [all, security]

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.