Closed (won't fix)
Project:
Drupal core
Version:
8.8.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2015 at 15:39 UTC
Updated:
17 Mar 2019 at 15:13 UTC
Jump to comment: Most recent
Comments
Comment #2
dawehner+1
Comment #3
catchComment #4
catchDuplicate of #2716163: [META] Remove deprecated classes, methods, procedural functions and code paths outside of deprecated modules on the Drupal 9 branch
Comment #5
tim.plunkettWhen we added setEntityTypeManager, we moved the deprecation notice. It's not deprecated (not sure why), but should still be removed.
Comment #6
catchIt needs to be deprecated first then, and it's still used once in core so that also needs to be converted.
Comment #7
berdirNot convinced about this at all. EntityForm needs the entity type manager, for example in \Drupal\Core\Entity\EntityForm::getEntityFromRouteMatch(). So we can't remove it, we could just switch to constructor injection. And that would break every single subclass that injects its own classes.
Comment #12
andypostComment #14
berdirStill -1 on that, like I was 2+ years ago :) We also undeprecated (or plan to) EntityHandlerBase with similar arguments. So I'm closing this, if someone disagrees they are free to re-open this issue.