function UpdateProcessor::claimQueueItem

Same name in other branches
  1. 8.9.x core/modules/update/src/UpdateProcessor.php \Drupal\update\UpdateProcessor::claimQueueItem()
  2. 10 core/modules/update/src/UpdateProcessor.php \Drupal\update\UpdateProcessor::claimQueueItem()
  3. 11.x core/modules/update/src/UpdateProcessor.php \Drupal\update\UpdateProcessor::claimQueueItem()

Overrides UpdateProcessorInterface::claimQueueItem

File

core/modules/update/src/UpdateProcessor.php, line 269

Class

UpdateProcessor
Process project update information.

Namespace

Drupal\update

Code

public function claimQueueItem() {
    return $this->fetchQueue
        ->claimItem();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.