drupal-eca-recipe / eca_lib_0035
Add role to new user
3.0.0
2025-08-11 17:17 UTC
Requires
- drupal/core: >=11.2
- drupal/eca: *
- drupal/modeler_api: *
This package is not auto-updated.
Last update: 2025-08-12 09:18:34 UTC
README
ID: eca_lib_0035
A variant of eca_lib_0029: «Add role to inserted or updated user». Except this variant is only concerned with new users, updated users are not processed.
Installation
## Import recipe
composer require drupal-eca-recipe/eca_lib_0035
# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/eca_lib_0035
# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0035
# Rebuilding caches is optional, sometimes required:
drush cr