function UpdateProcessorInterface::claimQueueItem
Same name in other branches
- 9 core/modules/update/src/UpdateProcessorInterface.php \Drupal\update\UpdateProcessorInterface::claimQueueItem()
- 8.9.x core/modules/update/src/UpdateProcessorInterface.php \Drupal\update\UpdateProcessorInterface::claimQueueItem()
- 10 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()
File
-
core/
modules/ update/ src/ UpdateProcessorInterface.php, line 19
Class
- UpdateProcessorInterface
- Processor of project update information.
Namespace
Drupal\updateCode
public function claimQueueItem();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.