You are here

protected function BaseUpdateRunner::releaseClaimedItems in Scheduled Updates 8

1 call to BaseUpdateRunner::releaseClaimedItems()
BaseUpdateRunner::runUpdatesInQueue in src/Plugin/BaseUpdateRunner.php
Run all updates that are in the queue.

File

src/Plugin/BaseUpdateRunner.php, line 512
Contains \Drupal\scheduled_updates\Plugin\BaseUpdateRunner.

Class

BaseUpdateRunner

Namespace

Drupal\scheduled_updates\Plugin

Code

protected function releaseClaimedItems() {
  $queue = $this
    ->getQueue();
  if ($this->items_to_release) {
    foreach ($this->items_to_release as $item) {
      $queue
        ->releaseItem($item);
    }
  }
}