src/Plugin/Field/FieldFormatter/ImageFieldTokensFormatter.php

Call to deprecated method getStorege() of class Drupal\Core\Entity\EntityManager. Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityTypeManagerInterface::getStorage() instead.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Mokys created an issue. See original summary.

Mokys’s picture

Mokys’s picture

Assigned: Mokys » Unassigned
Status: Needs work » Needs review
driverok’s picture

Status: Needs review » Reviewed & tested by the community

#3 works well for me.

Drupal-check:
7/7 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] No errors

Rector:
21/21 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] Rector is done!

Upgrader-status - No known errors

Also double-checked on drupal 9 instance - module installed without issues.

So RTBCing.

ysamoylenko’s picture

Hello everyone,

Thanks for your efforts.

The patch will be committed soon.

  • ysamoylenko committed f5a8478 on 8.x-2.x authored by Mokys
    Issue #3138661 by Mokys, driverok, ysamoylenko: Drupal 9 deprecated code...
ysamoylenko’s picture

Status: Reviewed & tested by the community » Fixed

The patch was committed.

nikolas.tatianenko’s picture

Issue tags: +epam-contrib

Status: Fixed » Closed (fixed)

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