drupal-eca-recipe/eca_lib_0035

Add role to new user

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Type:drupal-recipe

3.0.0 2025-08-11 17:17 UTC

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