You are here

workbench_email.schema.yml in Workbench Email 8

Same filename and directory in other branches
  1. 2.x config/schema/workbench_email.schema.yml
config/schema/workbench_email.schema.yml

File

config/schema/workbench_email.schema.yml
View source
  1. workbench_moderation.moderation_state_transition.*.third_party.workbench_email:
  2. type: mapping
  3. label: 'Workbench email settings'
  4. mapping:
  5. workbench_email_templates:
  6. type: sequence
  7. label: 'Templates'
  8. sequence:
  9. type: string
  10. label: 'Template'
  11. workflows.workflow.*.third_party.workbench_email:
  12. type: mapping
  13. label: 'Workbench email settings'
  14. mapping:
  15. workbench_email_templates:
  16. type: sequence
  17. label: 'Transition templates'
  18. sequence:
  19. type: sequence
  20. label: 'Transition'
  21. sequence:
  22. type: string
  23. label: 'Template'
  24. workbench_email.workbench_email_template.*:
  25. type: config_entity
  26. label: 'Email Template config'
  27. mapping:
  28. id:
  29. type: string
  30. label: 'ID'
  31. label:
  32. type: label
  33. label: 'Label'
  34. subject:
  35. type: label
  36. label: 'Subject'
  37. recipient_types:
  38. type: sequence
  39. label: 'Enabled recipient types'
  40. sequence:
  41. type: workbench_email_recipient_type
  42. bundles:
  43. type: sequence
  44. label: 'Bundles'
  45. sequence:
  46. type: string
  47. label: 'Bundle'
  48. body:
  49. type: mapping
  50. label: 'Body'
  51. mapping:
  52. value:
  53. type: string
  54. label: 'Value'
  55. format:
  56. type: string
  57. label: 'Format'
  58. replyTo:
  59. type: string
  60. label: 'Reply to'
  61. dependencies:
  62. type: config_dependencies
  63. label: 'Dependencies'
  64. workbench_email_recipient_type:
  65. type: mapping
  66. label: 'Recipient type'
  67. mapping:
  68. id:
  69. type: string
  70. label: 'ID'
  71. provider:
  72. type: string
  73. label: 'Provider'
  74. status:
  75. type: boolean
  76. label: 'Status'
  77. settings:
  78. type: workbench_email_recipient_type_settings.[%parent.id]
  79. # Default for plugins without any schema.
  80. workbench_email_recipient_type_settings.*:
  81. type: mapping
  82. label: 'Recipient type settings'
  83. workbench_email_recipient_type_settings.email:
  84. type: mapping
  85. mapping:
  86. fields:
  87. type: sequence
  88. label: 'Email fields'
  89. sequence:
  90. type: string
  91. label: 'Email field'
  92. workbench_email_recipient_type_settings.role:
  93. type: mapping
  94. mapping:
  95. roles:
  96. type: sequence
  97. label: 'Restrict to the selected roles'
  98. sequence:
  99. type: string
  100. label: 'Role'
  101. workbench_email_recipient_type_settings.roles_with_access:
  102. type: mapping
  103. mapping:
  104. roles:
  105. type: sequence
  106. label: 'Restrict to the selected roles'
  107. sequence:
  108. type: string
  109. label: 'Role'
  110. workbench_email_recipient_type_settings.entity_reference_user:
  111. type: mapping
  112. mapping:
  113. fields:
  114. type: sequence
  115. label: 'Fields'
  116. sequence:
  117. type: string
  118. label: 'Field'
  119. workbench_email_recipient_type_settings.fixed_email:
  120. type: mapping
  121. mapping:
  122. recipients:
  123. type: string
  124. label: 'Recipients'