Closed (fixed)
Project:
Drupal core
Version:
8.7.x-dev
Component:
entity system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Jan 2019 at 16:32 UTC
Updated:
3 Mar 2019 at 11:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
berdirComment #4
berdirMissed a few.
Comment #5
martin107 commenteda) The idea behind this issue is good.
b) After a visual scan of the patch - nothing extraneous, all code changes have a clear intent, everything implemented well
c) There are a couple of modifications, for example ModuleInstaller.php that make use of \Drupal::service() where I would like to see direct injections. But after a little reflections I can why this is the best thing to do as there is a @todo notices marking the code as soon to be changes by xyz and so the larger code block will soon be refactored away.
Comment #6
berdirThanks for the review. Note this will conflict with #3023981: Add @trigger_error() to deprecated EntityManager->EntityRepository methods and I'd prefer for that to get in first as it unblocks other issues.
DI for ModuleHandler is very complex and it's not visible from the patch context, but $entity_manager isn't injected either. So using DI there is IMHO not in scope of this issue.
Comment #9
berdirLooks like this was committed, didn't conflict after all :)