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

Comments

pifagor created an issue. See original summary.

Status: Needs review » Needs work

The last submitted patch, webform-1.patch, failed testing.

jrockowitz’s picture

Status: Needs work » Postponed (maintainer needs more info)
anpolimus’s picture

Status: Postponed (maintainer needs more info) » Needs work
Issue tags: +KyivCampCS17
jrockowitz’s picture

Until \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.

jrockowitz’s picture

Status: Needs work » Needs review
StatusFileSize
new5.52 KB

  • jrockowitz committed dabd6e7 on 8.x-5.x
    Issue #2858373 by jrockowitz, pifagor: Remove use of deprecated...
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

pifagor’s picture

Thank

joshmiller’s picture

Related Drupal core issue:

#2894261: Deprecated service entity.manager needs to be replaced with entity_type.manager in ContentEntityForm

Because of the following:

Until \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.