drupal-eca-recipe / eca_test_0005
Views
Installs: 88
Dependents: 0
Suggesters: 0
Security: 0
Type:drupal-recipe
pkg:composer/drupal-eca-recipe/eca_test_0005
Requires
- drupal/core: >=11.2
- drupal/eca: ^3
README
ID: eca_test_0005
During cron, this model switches the user context, queries a view to receive all user accounts and loops over all those users triggering a custom event for each of them to print their names in messages.
Installation
## Import recipe
composer require drupal-eca-recipe/eca_test_0005
# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/{{ rawid }}
# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_test_0005
# Rebuilding caches is optional, sometimes required:
drush cr