drupal-eca-recipe / eca_lib_0011
Get next incremental ID
dev-main
2024-08-07 10:59 UTC
Requires
- drupal/core: >=10.3
- drupal/eca: *
- drupal/eca_tamper: *
This package is auto-updated.
Last update: 2024-11-07 11:33:01 UTC
README
ID: eca_lib_0011
This model increments a sidewide ID by 1 and returns that on screen. It uses Drupal's state service to store the value inbetween requests.
Installation
composer require drupal-eca-recipe/eca_lib_0011
cd web && php core/scripts/drupal recipe ../vendor/drupal-eca-recipe/eca_lib_0011