You are here

workbench_email.schema.yml in Workbench Email 2.x

Same filename and directory in other branches
  1. 8 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. orderby: key
  41. sequence:
  42. type: workbench_email_recipient_type
  43. bundles:
  44. type: sequence
  45. label: 'Bundles'
  46. orderby: key
  47. sequence:
  48. type: string
  49. label: 'Bundle'
  50. body:
  51. type: mapping
  52. label: 'Body'
  53. mapping:
  54. value:
  55. type: string
  56. label: 'Value'
  57. format:
  58. type: string
  59. label: 'Format'
  60. replyTo:
  61. type: string
  62. label: 'Reply to'
  63. dependencies:
  64. type: config_dependencies
  65. label: 'Dependencies'
  66. workbench_email_recipient_type:
  67. type: mapping
  68. label: 'Recipient type'
  69. mapping:
  70. id:
  71. type: string
  72. label: 'ID'
  73. provider:
  74. type: string
  75. label: 'Provider'
  76. status:
  77. type: boolean
  78. label: 'Status'
  79. settings:
  80. type: workbench_email_recipient_type_settings.[%parent.id]
  81. # Default for plugins without any schema.
  82. workbench_email_recipient_type_settings.*:
  83. type: mapping
  84. label: 'Recipient type settings'
  85. workbench_email_recipient_type_settings.email:
  86. type: mapping
  87. mapping:
  88. fields:
  89. type: sequence
  90. label: 'Email fields'
  91. sequence:
  92. type: string
  93. label: 'Email field'
  94. workbench_email_recipient_type_settings.role:
  95. type: mapping
  96. mapping:
  97. roles:
  98. type: sequence
  99. label: 'Restrict to the selected roles'
  100. sequence:
  101. type: string
  102. label: 'Role'
  103. workbench_email_recipient_type_settings.roles_with_access:
  104. type: mapping
  105. mapping:
  106. roles:
  107. type: sequence
  108. label: 'Restrict to the selected roles'
  109. sequence:
  110. type: string
  111. label: 'Role'
  112. workbench_email_recipient_type_settings.entity_reference_user:
  113. type: mapping
  114. mapping:
  115. fields:
  116. type: sequence
  117. label: 'Fields'
  118. sequence:
  119. type: string
  120. label: 'Field'
  121. workbench_email_recipient_type_settings.fixed_email:
  122. type: mapping
  123. mapping:
  124. recipients:
  125. type: string
  126. label: 'Recipients'