You are here

public function UpdateProcessor::deleteQueueItem in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/update/src/UpdateProcessor.php \Drupal\update\UpdateProcessor::deleteQueueItem()

Deletes a finished item from the update fetch queue.

Parameters

\stdClass $item: The item returned by \Drupal\Core\Queue\QueueInterface::claimItem().

Overrides UpdateProcessorInterface::deleteQueueItem

See also

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

File

core/modules/update/src/UpdateProcessor.php, line 269
Contains \Drupal\update\UpdateProcessor.

Class

UpdateProcessor
Process project update information.

Namespace

Drupal\update

Code

public function deleteQueueItem($item) {
  return $this->fetchQueue
    ->deleteItem($item);
}