drupal-eca-recipe/eca_lib_0011

Get next incremental ID

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Type:drupal-recipe

dev-main 2024-08-07 10:59 UTC

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