drupal-eca-recipe/eca_lib_0012

Count user logins

Maintainers

Package info

gitlab.lakedrops.com/drupal/recipes/eca_lib_0012

Type:drupal-recipe

pkg:composer/drupal-eca-recipe/eca_lib_0012

Transparency log

Statistics

Installs: 88

Dependents: 0

Suggesters: 0

3.1.5 2026-08-23 09:28 UTC

This package is auto-updated.

Last update: 2026-08-23 09:29:15 UTC


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/{{ rawid }}

# Apply recipe without Drush:
cd web && php core/scripts/drupal recipe ../recipes/eca_lib_0012

# Rebuilding caches is optional, sometimes required:
drush cr