You are here

contact.schema.yml in Drupal 10

core/modules/contact/config/schema/contact.schema.yml

File

core/modules/contact/config/schema/contact.schema.yml
View source
  1. # Schema for the configuration files of the Contact module.
  2. contact.form.*:
  3. type: config_entity
  4. label: 'Contact form'
  5. mapping:
  6. id:
  7. type: string
  8. label: 'ID'
  9. label:
  10. type: label
  11. label: 'Label'
  12. recipients:
  13. type: sequence
  14. label: 'Recipients'
  15. sequence:
  16. type: email
  17. label: 'Email address'
  18. reply:
  19. type: text
  20. label: 'Auto-reply'
  21. weight:
  22. type: integer
  23. label: 'Weight'
  24. message:
  25. type: label
  26. label: 'Message displayed to user on submission'
  27. redirect:
  28. type: path
  29. label: 'Redirect path on submission'
  30. contact.settings:
  31. type: config_object
  32. label: 'Contact settings'
  33. mapping:
  34. default_form:
  35. type: string
  36. label: 'Default form identifier'
  37. flood:
  38. type: mapping
  39. label: 'Flood control'
  40. mapping:
  41. limit:
  42. type: integer
  43. label: 'Limit'
  44. interval:
  45. type: integer
  46. label: 'Interval'
  47. user_default_enabled:
  48. type: boolean
  49. label: 'Personal contact form enabled by default'