Problem/Motivation
EntityManager and EntityManagerInterface are deprecated. Core change record: EntityManager has been split into 11 classes.
Proposed resolution
Replace use of EntityManagerInterface with the appropriate classes.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | remove_use_of-2858373-6.patch | 5.52 KB | jrockowitz |
| webform-1.patch | 16.4 KB | pifagor |
Comments
Comment #3
jrockowitz commentedComment #4
anpolimusComment #5
jrockowitz commentedUntil \Drupal\Core\Entity\ContentEntityForm::__construct is updated, we are not going to be able to remove use of deprecated EntityManagerInterface. This might not happen until D9.
Still there are few deprecated instances of EntityManagerInterface documented in the patch that I will fix in a reroll.
Comment #6
jrockowitz commentedComment #8
jrockowitz commentedComment #10
pifagor commentedThank
Comment #11
joshmillerRelated Drupal core issue:
#2894261: Deprecated service entity.manager needs to be replaced with entity_type.manager in ContentEntityForm
Because of the following: