Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2026 at 12:08 UTC
Updated:
17 Feb 2026 at 08:04 UTC
Jump to comment: Most recent
We can provide improved typehinting so we have a better idea that both a class string is returned, and the class string is a implementation of EntityInterface
Make the change.
None.
None.
Documentation only.
None.
None.
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
dpiDo/Gitlab is being incredibly flakey today, so heres a link: https://git.drupalcode.org/project/drupal/-/merge_requests/14272
Comment #4
dpiComment #5
longwaveLooks good to me, although are there any similar methods we could improve at the same time?
Comment #6
dpiNot in the same
EntityStorageInterface.Overall in Drupal there is of course plenty of ways to improve.
Comment #11
catchCommitted/pushed to main and 11.x, thanks!