Several deprecation messages in Drupal\Core\Entity\EntityManager refer to an EntityTypeBundleManagerInterface, but the correct interface of the bundle info service is actually EntityTypeBundleInfoInterface.

CommentFileSizeAuthor
#2 2895097-02.patch1.4 KBfeyp

Comments

FeyP created an issue. See original summary.

feyp’s picture

Assigned: feyp » Unassigned
Status: Active » Needs review
StatusFileSize
new1.4 KB

Attached is a patch against 8.4.x.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

borisson_’s picture

Status: Needs review » Reviewed & tested by the community

This is correct, EntityTypeBundleInfoInterface does exist, EntityTypeBundleManagerInterface doesn't.

alexpott’s picture

Crediting @borisson_ for confirming the fix.

alexpott’s picture

Category: Task » Bug report
Status: Reviewed & tested by the community » Fixed

Committed and pushed db479e4981 to 8.6.x and f438cc6285 to 8.5.x. Thanks!

Backported to 8.5.x since this is a docs fix.

  • alexpott committed db479e4 on 8.6.x
    Issue #2895097 by FeyP, borisson_: Correct bundle info service interface...

  • alexpott committed f438cc6 on 8.5.x
    Issue #2895097 by FeyP, borisson_: Correct bundle info service interface...

Status: Fixed » Closed (fixed)

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