Part of the Entity ecosystem · 310 projects
This module provides Drush commands to manage content entity IDs, allowing you to set the next available ID or revision ID for specific entity types. This is particularly useful for preventing ID collisions during content migrations by ensuring new content starts with IDs higher than existing content. It currently only supports MySQL-compatible databases.
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.
Ask your assistant about Entity ID Tools
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Entity ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 9–10 | Jan 19, 2023 | ||
| 1.0.x-dev | Dev | 9–10 | Jan 19, 2023 |