Simplenews auto sub unsub¶
Version
Initialising viewer…
You can apply this model as a recipe (Drupal 10.3 or later) to your own Drupal site:
1 2 3 4 5 6 7 8 9 10 11 | |
Purpose¶
Automatically subscribes or unsubscribers users from a designated Simplenews newsletter based on the user's role. Triggered by user entity presave. Requires the eca_simplenews contributed module.
Dependencies¶
- module
- eca_base
- eca_content
- eca_simplenews
- modeler_api
Used plugins¶
Events¶
Conditions¶
- Was administrator role
- Was not administrator role
- NOT has administrator role
- Has administrator role
- User is currently subscribed to default newsletter
- User is NOT currently subscribed to default newsletter
- User has NOT previously unsubscribed from any newsletter
- User has previously unsubscribed from any newsletter
Actions¶
- AND
- Unsubscribe from default newsletter
- Subscribe to default newsletter
- Notify of previous unsubscribe
Changelog¶
Initial version