public static function EntityQueue::postLoad in Entityqueue 8
Acts on loaded entities.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.
\Drupal\Core\Entity\EntityInterface[] $entities: An array of entities.
Overrides EntityBase::postLoad
File
- src/
Entity/ EntityQueue.php, line 287
Class
- EntityQueue
- Defines the EntityQueue entity class.
Namespace
Drupal\entityqueue\EntityCode
public static function postLoad(EntityStorageInterface $storage, array &$entities) {
parent::postLoad($storage, $entities);
foreach ($entities as $queue) {
$queue
->getHandlerPlugin()
->onQueuePostLoad($queue, $storage);
}
}