You are here

multiple_email.schema.yml in Multiple E-mail Addresses 2.x

config/schema/multiple_email.schema.yml

File

config/schema/multiple_email.schema.yml
View source
  1. # Schema for the configuration files of the Multiple Email Addresses module.
  2. multiple_email.settings:
  3. type: config_object
  4. label: 'Multiple Email Addresses settings'
  5. mapping:
  6. hide_field:
  7. type: boolean
  8. label: 'Hides the e-mail field when editing a user'
  9. edit_emails:
  10. type: boolean
  11. label: 'Allows editing of e-mail addresses. It is equivalent to deleting and adding a new e-mail address, as edited emails must be re-confirmed. If enabled, e-mail addresses (excluding primary) may be edited via the multiple e-mail tab.'
  12. confirm:
  13. type: mapping
  14. label: 'Confirmation settings'
  15. mapping:
  16. attempts:
  17. type: integer
  18. label: 'How many times a user enters a confirmation code before a new one is generated. If set to 0, no new codes are sent after the first one.'
  19. deadline:
  20. type: integer
  21. label: 'How many days a user has to enter a confirmation code. If 0, emails pending confirmation do not expire.'
  22. multiple_email.mail:
  23. type: config_object
  24. label: 'Email settings'
  25. mapping:
  26. confirmation:
  27. type: mail
  28. label: 'New e-mail confirmation'
  29. expiration:
  30. type: mail
  31. label: 'Not validated e-mail expiration'