protected function BaseUpdateRunner::loadEntitiesToUpdate in Scheduled Updates 8
Load multi entities to update.
Parameters
$entity_ids: Keys of array should be revision id for revisionable entities Keys for non-revisionable entities will be entity keys.
Return value
2 calls to BaseUpdateRunner::loadEntitiesToUpdate()
- BaseUpdateRunner::runUpdate in src/
Plugin/ BaseUpdateRunner.php - Run an individual update from the queue.
- EmbeddedUpdateRunner::getEmbeddedUpdates in src/
Plugin/ UpdateRunner/ EmbeddedUpdateRunner.php - Return all schedule updates that are referenced via Entity Reference fields.
1 method overrides BaseUpdateRunner::loadEntitiesToUpdate()
- LatestRevisionUpdateRunner::loadEntitiesToUpdate in src/
Plugin/ UpdateRunner/ LatestRevisionUpdateRunner.php - Load multi entities to update.
File
- src/
Plugin/ BaseUpdateRunner.php, line 694 - Contains \Drupal\scheduled_updates\Plugin\BaseUpdateRunner.
Class
Namespace
Drupal\scheduled_updates\PluginCode
protected function loadEntitiesToUpdate($entity_ids) {
return $this->entityTypeManager
->getStorage($this
->updateEntityType())
->loadMultiple($entity_ids);
}