You are here

agreement.schema.yml in Agreement 8.2

Same filename and directory in other branches
  1. 3.0.x config/schema/agreement.schema.yml
config/schema/agreement.schema.yml

File

config/schema/agreement.schema.yml
View source
  1. agreement.agreement.*:
  2. type: config_entity
  3. label: 'Agreement'
  4. mapping:
  5. id:
  6. type: string
  7. label: 'ID'
  8. label:
  9. type: label
  10. label: 'Name'
  11. path:
  12. type: uri
  13. label: 'Path'
  14. settings:
  15. type: agreement_settings
  16. label: 'Settings'
  17. agreement:
  18. type: text
  19. label: 'Agreement text'
  20. translatable: true
  21. agreement_settings:
  22. type: mapping
  23. label: 'Settings'
  24. mapping:
  25. frequency:
  26. type: integer
  27. label: 'Frequency'
  28. title:
  29. type: label
  30. label: 'Agreement Page Title'
  31. translatable: true
  32. checkbox:
  33. type: label
  34. label: 'Checkbox Text'
  35. translatable: true
  36. format:
  37. type: string
  38. label: 'Text format'
  39. submit:
  40. type: label
  41. label: 'Submit Text'
  42. translatable: true
  43. success:
  44. type: text
  45. label: 'Success Message'
  46. translatable: true
  47. revoked:
  48. type: text
  49. label: 'Revoked Message'
  50. translatable: true
  51. failure:
  52. type: text
  53. label: 'Failure Message'
  54. translatable: true
  55. destination:
  56. type: uri
  57. label: 'Destination'
  58. reset_date:
  59. type: integer
  60. label: 'Last Reset Date'
  61. visibility:
  62. type: mapping
  63. label: 'Visibility'
  64. mapping:
  65. settings:
  66. type: integer
  67. label: 'Visibility Settings'
  68. pages:
  69. type: sequence
  70. label: 'Pages'
  71. sequence:
  72. type: uri
  73. recipient:
  74. type: email
  75. label: 'Recipient Email'
  76. nullable: true
  77. roles:
  78. type: sequence
  79. label: 'Roles'
  80. sequence:
  81. type: string