Install
Works with Drupal: ^11.1Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
417.19 KB
MD5: 4f21d217f90a61c00392a7eee533a25b
SHA-1: cc8d10c1cd03d8f7650d0203aceed0e4c58b1b4c
SHA-256: 2bd848fec173dd98596bf828ab9cd5b79bc717bfae7779498478790632970865
Download zip
665.62 KB
MD5: 24e81405eb8c9378322143c822941cd8
SHA-1: 9d622d7cac0ba1cb546d81703182ffd0a853e11c
SHA-256: 093c6ef87a9a2589523a49190579a746a6fe832089bf06e832d0e8c442a60ae0
Release notes
This release ships the module's first conditions for the fields of any bundle, and a group delivery that narrows the members by role and membership value. There are no update hooks and no changes to shipped configuration: drush deploy, or at least a cache rebuild, makes the new plugins available.
Added
- Five conditions for the fields of any bundle (#3631892). Until now the module shipped no condition of its own beside the AND/OR group, so every site wrote its own or reached for ECA. The base module now ships:
- Status changed (
status_changed, anchored): a list field, a Workflow state field, a boolean field added to the bundle or the moderation state changed to chosen values, optionally from chosen ones; a creation counts only when ticked. - Field changed (
field_changed, anchored): any added field changed, compared by its main value or, on request, by all values of every item – the end of a date range, the description of a file. - Field value (
field_value): a field of the triggering or the scope entity is one of / none of chosen values, or has / has no value. - Date reached (
date_reached, time-based): the start or end of a date or date range field plus an offset; the tracking row is scheduled for that moment. - Acting user is a referenced user (
acting_user_is_referenced_user): the user saving the entity is the one a field path from it reaches.
- Status changed (
- E-mail to group members with chosen roles and membership values (
group_members_filtered_emailinconditional_notification_group, #3631892): the members of the scope group, narrowed to member roles and to values of a list or boolean field on the membership. A filter left empty does not narrow; blocked accounts receive nothing. - For plugin authors:
Drupal\conditional_notification\Plugin\FieldValuesTraitholds what the new plugins share – reading a field's values as strings, its allowed values and the states of a moderation workflow.
Changed
- The modules are grouped under "Conditional Notification" on the Extend page instead of "Think Modular" (#3631919). Only the grouping on
/admin/moduleschanges.
Upgrade notes
- No update hooks, no changes to shipped configuration.
- The new plugins keep the IDs they carried in the two client projects they grew in, on a Drupal 10 copy of this module, so templates configured there keep working once those projects switch to the module. A site that still carries its own copy of one of these plugins must remove it, or plugin discovery finds the ID twice.
Full details in CHANGELOG.md.