You are here

public function UpdateProcessorInterface::claimQueueItem in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/update/src/UpdateProcessorInterface.php \Drupal\update\UpdateProcessorInterface::claimQueueItem()

Claims an item in the update fetch queue for processing.

Return value

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

See also

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

1 method overrides UpdateProcessorInterface::claimQueueItem()
UpdateProcessor::claimQueueItem in core/modules/update/src/UpdateProcessor.php
Claims an item in the update fetch queue for processing.

File

core/modules/update/src/UpdateProcessorInterface.php, line 19

Class

UpdateProcessorInterface
Processor of project update information.

Namespace

Drupal\update

Code

public function claimQueueItem();