Closed (fixed)
Project:
Entity Usage
Version:
5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jun 2026 at 14:40 UTC
Updated:
7 Jul 2026 at 15:00 UTC
Jump to comment: Most recent
\Drupal\entity_usage\Plugin\EntityUsage\Track\TextFieldEmbedBase::getTargetEntities() checks to see if $item['value'] is empty and short circuits if it is. This is unnecessary because we're always checking that !$item->isEmpty() before calling this. It also results in inconsistent behaviour with text with summary fields.
Remove the code - it is not necessary.
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
alexpottComment #4
alexpott