drupal-eca-recipe/eca_lib_0036

Simplenews auto sub/unsub

Maintainers

Package info

gitlab.lakedrops.com/drupal/recipes/eca_lib_0036

Type:drupal-recipe

pkg:composer/drupal-eca-recipe/eca_lib_0036

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

dev-main 2026-05-15 11:11 UTC

This package is not auto-updated.

Last update: 2026-05-15 11:12:46 UTC


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