You are here

public static function SqlContentEntityStorageTestEntityInterface::postLoad in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php \Drupal\Tests\Core\Entity\Sql\SqlContentEntityStorageTestEntityInterface::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

File

core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php, line 1476
Contains \Drupal\Tests\Core\Entity\Sql\SqlContentEntityStorageTest.

Class

SqlContentEntityStorageTestEntityInterface
Provides an entity with dummy implementations of static methods, because those cannot be mocked.

Namespace

Drupal\Tests\Core\Entity\Sql

Code

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