Needs review
Project:
Entity Usage
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2026 at 12:10 UTC
Updated:
31 Mar 2026 at 12:26 UTC
Jump to comment: Most recent
EntityUsageTrackBase::trackOnEntityUpdate() currently detects “new revision” by comparing revision IDs with $source_entity->original.
The proposed change uses isNewRevision() as the primary signal. This is a better and more explicit way to detect revision creation, independent from original state.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
gugalamaciek commented