drupal-eca-recipe / eca_lib_0012
Adds a number field to the user entity and increments it every time that user logs in.
Package info
gitlab.lakedrops.com/drupal/recipes/eca_lib_0012
Type:drupal-recipe
pkg:composer/drupal-eca-recipe/eca_lib_0012
3.1.8
2026-09-01 14:36 UTC
Requires
- drupal/eca: *
- drupal/eca_tamper: *
- drupal/modeler_api: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
ID: eca_lib_0012
This model adds a number field to the user entity with a default value 0. It then increments that value, each time that user logs into the site.
Installation
## Import recipe
composer require drupal-eca-recipe/eca_lib_0012
# Apply recipe with Drush (requires version 13 or later):
drush recipe ../recipes/eca_lib_0012
# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0012
# Rebuilding caches is optional, sometimes required:
drush cr