function EntityInterface::postLoad

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::postLoad()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityInterface.php \Drupal\Core\Entity\EntityInterface::postLoad()
  3. 11.x 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 330

Class

EntityInterface
Defines a common interface for all entity objects.

Namespace

Drupal\Core\Entity

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.