* {@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
* {@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