You are here

legal.schema.yml in Legal 8

Same filename and directory in other branches
  1. 2.0.x config/schema/legal.schema.yml
config/schema/legal.schema.yml

File

config/schema/legal.schema.yml
View source
  1. # Schema for the configuration files of the Legal module.
  2. legal.settings:
  3. type: config_object
  4. label: 'Legal settings'
  5. mapping:
  6. registration_terms_style:
  7. type: integer
  8. label: 'Registration T&C display style'
  9. registration_container:
  10. type: integer
  11. label: 'Registration T&C wrapper'
  12. login_terms_style:
  13. type: integer
  14. label: 'Login T&C display style'
  15. login_container:
  16. type: integer
  17. label: 'Login T&C wrapper'
  18. user_profile_display:
  19. type: boolean
  20. label: 'Show T&Cs on user profile edit pages'
  21. accept_every_login:
  22. type: boolean
  23. label: 'Ask to accept T&Cs on every login'
  24. except_roles:
  25. type: sequence
  26. label: 'Exempt user roles'
  27. registration_modal_terms:
  28. type: boolean
  29. label: 'How to display the T&Cs when a user clicks on the link on the registration form.'
  30. login_modal_terms:
  31. type: boolean
  32. label: 'How to display the T&Cs when a user clicks on the link on the login form.'