You are here

public static function EntityInterface::postLoad in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::postLoad()
  2. 10 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.

3 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.
ViewUI::postLoad in core/modules/views_ui/src/ViewUI.php
Acts on loaded entities.

File

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

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

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