You are here

entity_legal.schema.yml in Entity Legal 3.0.x

config/schema/entity_legal.schema.yml

File

config/schema/entity_legal.schema.yml
View source
  1. # Schema for the configuration files of the Entity Legal module.
  2. entity_legal.document.*:
  3. type: config_entity
  4. label: 'Legal document'
  5. mapping:
  6. id:
  7. type: string
  8. label: 'ID'
  9. label:
  10. type: label
  11. label: 'Label'
  12. require_signup:
  13. type: boolean
  14. label: 'Require signup'
  15. require_existing:
  16. type: boolean
  17. label: 'Require existing'
  18. settings:
  19. type: mapping
  20. label: 'Settings'
  21. mapping:
  22. new_users:
  23. type: mapping
  24. label: 'New users'
  25. mapping:
  26. require:
  27. type: boolean
  28. label: 'Require'
  29. require_method:
  30. type: string
  31. label: 'Require method'
  32. existing_users:
  33. type: mapping
  34. label: 'Existing users'
  35. mapping:
  36. require:
  37. type: boolean
  38. label: 'Require'
  39. require_method:
  40. type: string
  41. label: 'Require method'
  42. title_pattern:
  43. type: string
  44. label: 'Use this pattern to build the title'
  45. translatable: true