drupal-eca-recipe / eca_lib_0036
Simplenews auto sub unsub
Package info
gitlab.lakedrops.com/drupal/recipes/eca_lib_0036
Type:drupal-recipe
pkg:composer/drupal-eca-recipe/eca_lib_0036
3.0.3
2026-08-23 10:37 UTC
Requires
- drupal/eca: *
- drupal/eca_simplenews: *
- drupal/modeler_api: *
README
ID: eca_lib_0036
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.
Installation
## Import recipe
composer require drupal-eca-recipe/eca_lib_0036
# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/eca_lib_0036
# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0036
# Rebuilding caches is optional, sometimes required:
drush cr