function UpdateProcessorInterface::claimQueueItem

Same name in other branches
  1. 9 core/modules/update/src/UpdateProcessorInterface.php \Drupal\update\UpdateProcessorInterface::claimQueueItem()
  2. 10 core/modules/update/src/UpdateProcessorInterface.php \Drupal\update\UpdateProcessorInterface::claimQueueItem()
  3. 11.x 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();

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