Commit 75406bae authored by Derek Wright's avatar Derek Wright
Browse files

[#2570593]: Fix EntityStorageBase::postLoad() to only invoke bundle subclass...

[#2570593]: Fix EntityStorageBase::postLoad() to only invoke bundle subclass postLoad() with matching entities.
parent 615f4224
......@@ -365,7 +365,7 @@ protected function postLoad(array &$entities) {
// Invoke entity class specific postLoad() methods.
foreach ($entities_by_class as $entity_class => &$items) {
$entity_class::postLoad($this, $entities);
$entity_class::postLoad($this, $items);
}
// Call hook_entity_load().
foreach ($this->moduleHandler()->getImplementations('entity_load') as $module) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment