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

Acts on loaded entities.

Parameters

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

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

2 methods override EntityInterface::postLoad()
EntityBase::postLoad in core/lib/Drupal/Core/Entity/EntityBase.php
Acts on loaded entities.
SqlContentEntityStorageTestEntityInterface::postLoad in core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php
Acts on loaded entities.

File

core/lib/Drupal/Core/Entity/EntityInterface.php, line 330

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

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