X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FEntity%2FEntityManager.php;h=bc03175ab5d04022213a66b0e78f9cf1ac82c2aa;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=6f2ce7672ebed9183db9b3fc1921f1dd1ccc9602;hpb=bfbba508964731508b9bd6d5835c2edc858db95b;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Entity/EntityManager.php b/web/core/lib/Drupal/Core/Entity/EntityManager.php index 6f2ce7672..bc03175ab 100644 --- a/web/core/lib/Drupal/Core/Entity/EntityManager.php +++ b/web/core/lib/Drupal/Core/Entity/EntityManager.php @@ -303,7 +303,7 @@ class EntityManager implements EntityManagerInterface, ContainerAwareInterface { * {@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,20 +316,20 @@ class EntityManager implements EntityManagerInterface, ContainerAwareInterface { * {@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 */ - public function getBundleInfo($entity_type) { - return $this->container->get('entity_type.bundle.info')->getBundleInfo($entity_type); + public function getBundleInfo($entity_type_id) { + return $this->container->get('entity_type.bundle.info')->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