- Issue created by @carsoncho
- Merge request !7Resolve #3520403 "Integration with content moderation notification" β (Open) created by carsoncho
- πΊπΈUnited States carsoncho Kansas City, MO
Wanting to make a note about this -- due to how the content moderation notification form is built with no
#weight
properties defined on any of the form elements there's not a an easy way (to my knowledge) to place our custom form element in a reasonable spot within the form.Currently this would add our "Enable Reviewer notifications?" checkbox to the top of the form, or with any weight > 0, to the bottom of the form. Here's an example:
I'm not sure of an easy way to place this in a more reasonable spot within the form, but this works for now.
- πΊπΈUnited States carsoncho Kansas City, MO
I believe this is a good starting point and should be ready for review. For testing this, once you apply the patch, you'll just need to enable the new module, "Content Moderation Reviewer Notifications" and then simply enable reviewer notifications within one of your Content Moderation Notification types.
- πΊπΈUnited States carsoncho Kansas City, MO
carsoncho β changed the visibility of the branch 2.x to hidden.
- π¦πΊAustralia acbramley
I recommend using https://www.drupal.org/project/workbench_email β instead. Workbench email allows a more flexible selection of recipients, including the reviewer field or any other entity reference field.
If you'd like the integration with Content moderation notifications, feel free to publish it as a separate module.