Entity ID Tools contributed Drupal module illustration

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

This module provides a set of drush administrative commands to manage content entity IDs.

The initial reelase implements two drush commands:

  • drush entity_id_tools:next_id

    Establishes the ID for the next instance of a given entity type.

  • drush entity_id_tools:next_revision_id

    Establishes the revsion ID for the next instance of a given entity type.

Use cases

This module is particular useful to prevent entity ID collisions between old and new content on content migration. Eg., in a Drupal 7 to Drupal 10 site migration, the entity ID for the new content created on the new site can be set to start from a given number, ensuring that the contents from the old site will keep their IDs safely.

Limitations

The way entity IDs are managed varies on each database. The module currently supports MySQL compatible databases only.

Project information

Releases