This project is not covered by Drupal’s security advisory policy.

Per bundle serial number for entities.
The difference with the Serial module is that the field value is not stored but computed.
The sequence is preserved if entities from the bundle are being deleted.

Use case

When a sequence within a bundle is needed (e.g. invoice number, ...).

Configuration

Add the field to an entity type bundle (e.g. Article content type). Set the serial id to start from and the node id that will be used as the first entity to count from.

Roadmap

  • Optionally initialize values for existing entities
  • Lightweight system wide configuration without per bundle field definition by implementing hook_entity_bundle_field_info() [WIP]

Related modules

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Module categories: Site Structure
  • chart icon1 site reports using this module
  • Created by colorfield on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases