Closed (fixed)
Project:
Entity Usage
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2026 at 14:48 UTC
Updated:
9 Sep 2026 at 08:55 UTC
Jump to comment: Most recent
The code references trash_entity_is_deleted() with its Trash integration however that API call has been deprecated in 3.0.30, and will be removed in 3.1.0
See https://www.drupal.org/node/3609675
N/A
It should use the updated API where possible to avoid breaking sites that upgrade to the latest version.
Provide MR.
N/A
N/A
N/A
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 #2
alexpottThis is fixed in the 5.x branch already. But I think doing some detection if
\Drupal\trash\Trash::entityIsDeleted()exists and calling that in 8.x-2.x is a good idea.Comment #3
alexpottActually we can just go forward. Trash 3.0.30 is compatible with everything 8.x-2.x is so we can just add a conflict and use the new API.
Comment #6
alexpott