X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Flib%2FDrupal%2FCore%2FEntity%2FEntityTypeBundleInfo.php;h=aa917c845cb590f27e60167bdbabbe25e037547c;hb=refs%2Fheads%2Fd864;hp=42d00a7fcb1d473e478e5e15ff86217891b0c494;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php b/web/core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php index 42d00a7fc..aa917c845 100644 --- a/web/core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php +++ b/web/core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php @@ -76,9 +76,9 @@ class EntityTypeBundleInfo implements EntityTypeBundleInfoInterface { /** * {@inheritdoc} */ - public function getBundleInfo($entity_type) { + public function getBundleInfo($entity_type_id) { $bundle_info = $this->getAllBundleInfo(); - return isset($bundle_info[$entity_type]) ? $bundle_info[$entity_type] : []; + return isset($bundle_info[$entity_type_id]) ? $bundle_info[$entity_type_id] : []; } /**