UpdateProcessor::claimQueueItem

public UpdateProcessor::claimQueueItem()

Claims an item in the update fetch queue for processing.

Return value

bool|\stdClass On success we return an item object. If the queue is unable to claim an item it returns false.

Overrides UpdateProcessorInterface::claimQueueItem

See also

\Drupal\Core\Queue\QueueInterface::claimItem()

File

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

Class

UpdateProcessor
Process project update information.

Namespace

Drupal\update

Code

public function claimQueueItem() {
  return $this->fetchQueue->claimItem();
}
doc_Drupal
2016-10-29 09:50:59
Comments
Leave a Comment

Please login to continue.