Problem/Motivation
entity.manager service is deprecated. Remove any usages of this service.
Proposed resolution
Replace any usage of entity.manager service with entity_type.manager service.
Remaining tasks
TBD
User interface changes
N/A
API changes
TBD
Data model changes
N/A
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | 2933884-10.patch | 2.8 KB | quietone |
| #10 | interdiff.txt | 2.26 KB | quietone |
| #9 | 2933884-8.patch | 500 bytes | quietone |
| #3 | remove-usage-of-deprecated-entity-manager-2933884-3.patch | 460 bytes | deepakaryan1988 |
Comments
Comment #2
deepakaryan1988Comment #3
deepakaryan1988Please review this.
Comment #4
smccabe commentedHey @deepak, if you search for entity_type.manager you'll see that it is used in at least 4 other places, you'll need to clean those up and anything that depends on them.
Comment #5
deepakaryan1988Comment #6
travis-bradbury commentedComment #7
mglamanThere is no work to be done here, for now.
In \Drupal\commerce_pos\POS it is passing the deprecated manager because it has to.
May as well postpone as all usage is required by core.
Comment #8
joshmillerWe're back at active, because 8.6.x HEAD now has committed a change to the ContentEntityForm to remove the deprecated service.
#2894261: Deprecated service entity.manager needs to be replaced with entity_type.manager in ContentEntityForm
Comment #9
quietone commentedNeeds a reroll
Comment #10
quietone commentedNow change the POSForm constructor.
Not running tests and setting to NW because not user what to do with this usage of $entity_manager, which was added in 2950975-#9