Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postLoad()
  2. 9 core/lib/Drupal/Core/Entity/EntityBase.php \Drupal\Core\Entity\EntityBase::postLoad()

Acts on loaded entities.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.

\Drupal\Core\Entity\EntityInterface[] $entities: An array of entities.

Overrides EntityInterface::postLoad

2 calls to EntityBase::postLoad()
Role::postLoad in core/modules/user/src/Entity/Role.php
Acts on loaded entities.
View::postLoad in core/modules/views/src/Entity/View.php
Acts on loaded entities.
2 methods override EntityBase::postLoad()
Role::postLoad in core/modules/user/src/Entity/Role.php
Acts on loaded entities.
View::postLoad in core/modules/views/src/Entity/View.php
Acts on loaded entities.

File

core/lib/Drupal/Core/Entity/EntityBase.php, line 438

Class

EntityBase
Defines a base entity class.

Namespace

Drupal\Core\Entity

Code

public static function postLoad(EntityStorageInterface $storage, array &$entities) {
}