public function BaseUpdateRunner::getQueue in Scheduled Updates 8
Get the Queue for this Update Runner.
Return value
\Drupal\Core\Queue\QueueInterface The queue object.
Overrides UpdateRunnerInterface::getQueue
3 calls to BaseUpdateRunner::getQueue()
- BaseUpdateRunner::addUpdatesToQueue in src/
Plugin/ BaseUpdateRunner.php - Add all updates to queue.
- BaseUpdateRunner::releaseClaimedItems in src/
Plugin/ BaseUpdateRunner.php - BaseUpdateRunner::runUpdatesInQueue in src/
Plugin/ BaseUpdateRunner.php - Run all updates that are in the queue.
File
- src/
Plugin/ BaseUpdateRunner.php, line 382 - Contains \Drupal\scheduled_updates\Plugin\BaseUpdateRunner.
Class
Namespace
Drupal\scheduled_updates\PluginCode
public function getQueue() {
return \Drupal::queue('scheduled_updates:' . $this->configuration['updater_type'], TRUE);
}