function UpdateProcessor::claimQueueItem

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

File

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

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.