From db479e49819e3d0e4a6f4026a638d46c77cafd30 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Tue, 3 Apr 2018 09:12:31 +0200 Subject: [PATCH] Issue #2895097 by FeyP, borisson_: Correct bundle info service interface name in EntityManager deprecation messages --- core/lib/Drupal/Core/Entity/EntityManager.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/lib/Drupal/Core/Entity/EntityManager.php b/core/lib/Drupal/Core/Entity/EntityManager.php index dbd3b9182676..bc03175ab5d0 100644 --- a/core/lib/Drupal/Core/Entity/EntityManager.php +++ b/core/lib/Drupal/Core/Entity/EntityManager.php @@ -303,7 +303,7 @@ public function clearCachedFieldDefinitions() { * {@inheritdoc} * * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. - * Use \Drupal\Core\Entity\EntityTypeBundleManagerInterface::clearCachedBundles() + * Use \Drupal\Core\Entity\EntityTypeBundleInfoInterface::clearCachedBundles() * instead. * * @see https://www.drupal.org/node/2549139 @@ -316,7 +316,7 @@ public function clearCachedBundles() { * {@inheritdoc} * * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. - * Use \Drupal\Core\Entity\EntityTypeBundleManagerInterface::getBundleInfo() + * Use \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getBundleInfo() * instead. * * @see https://www.drupal.org/node/2549139 @@ -329,7 +329,7 @@ public function getBundleInfo($entity_type_id) { * {@inheritdoc} * * @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. - * Use \Drupal\Core\Entity\EntityTypeBundleManagerInterface::getAllBundleInfo() + * Use \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getAllBundleInfo() * instead. * * @see https://www.drupal.org/node/2549139 -- GitLab