function UpdateProcessorInterface::claimQueueItem

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

Code

public function claimQueueItem();

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