drupal-eca-recipe / eca_lib_0026
Grant new user role after 3 conditions are met
dev-main
2024-08-07 10:59 UTC
Requires
- drupal/core: >=10.3
- drupal/eca: *
This package is auto-updated.
Last update: 2024-11-07 11:30:15 UTC
README
ID: eca_lib_0026
This model automatically adds or removes a role from a user, when this gets updated, depending upon 3 conditions that are stored with the user entity. Only if all 3 conditions are met, the role gets added. In all other cases the role gets removed.
The creation of this module was recorded and the video with additional explanations can be watched here.
Installation
composer require drupal-eca-recipe/eca_lib_0026
cd web && php core/scripts/drupal recipe ../vendor/drupal-eca-recipe/eca_lib_0026