projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pull merge.
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Core
/
Entity
/
EntityTypeBundleInfo.php
diff --git
a/web/core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php
b/web/core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php
index 42d00a7fcb1d473e478e5e15ff86217891b0c494..aa917c845cb590f27e60167bdbabbe25e037547c 100644
(file)
--- 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}
*/
/**
* {@inheritdoc}
*/
- public function getBundleInfo($entity_type) {
+ public function getBundleInfo($entity_type
_id
) {
$bundle_info = $this->getAllBundleInfo();
$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
] : [];
}
/**
}
/**