Install
Works with Drupal: ^11.4 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
128.06 KB
MD5: a14b3bcf9bdc9b825b43175fdcdaaa06
SHA-1: fad3ae7416dc25c86ccb23e2be486b0348561d94
SHA-256: 4866ffe9addb94b51efb96b435fac27308d825e8e06d5f705a68666d6bb514f5
Download zip
214.36 KB
MD5: e1bf8ee2e330fc26f3f3babf3d5bcc9b
SHA-1: 77be45d080cb6e9850d1d6345ae495aab4bdc467
SHA-256: 7a3fd6127fb164632ef446a3417dbbc92e2c46890b8630320cb792457ca06f97
Release notes
Entity Usage 5.0.0 is the first stable release of the 5.x branch, built for Drupal core 11.4 or higher and compatible with Drupal 12. The 8.x-2.x branch will not receive Drupal 12 support.
Rebuild all usage data after upgrading from 8.x-2.x. This release changes how paragraphs, revisions, and inline entities are tracked, and changes the entity_usage table indexes.
Run:
drush entity-usage:recreate
Highlighted changes since 8.x-2.x:
- Requires Drupal core 11.4 or higher #3612460: Bump minimum Drupal to 11.4 and typehint everything
- Adds Drupal 12 compatibility #3606286: Automated Drupal 12 compatibility fixes for entity_usage 5.x-dev
- Removes support for annotation-based EntityUsageTrack plugins; use PHP attributes instead #3574343: Remove support for \Drupal\entity_usage\Annotation\EntityUsageTrack
- Fixes paragraph deletion showing incorrect usage information #3547273: Deleting paragraphs causes the entity usage tab to display confusing information
- Reduces the size of entity_usage table indexes #3561285: The indexes on the entity_usage tabel get huge
- Disables entity revision caching during bulk update, reducing memory use #3617820: Disable entity revision caching when doing a bulk update
- Improves ListUsageController performance for large usage sets #3612704: Improve the ListUsageController to not process all the rows at the same time
- Uses the current domain automatically in UrlToEntity #3556635: Automatically use current domain in UrlToEntity