You are here

public function QueueInterface::deleteItem in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Queue/QueueInterface.php \Drupal\Core\Queue\QueueInterface::deleteItem()

Deletes a finished item from the queue.

Parameters

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

2 methods override QueueInterface::deleteItem()
DatabaseQueue::deleteItem in core/lib/Drupal/Core/Queue/DatabaseQueue.php
Deletes a finished item from the queue.
Memory::deleteItem in core/lib/Drupal/Core/Queue/Memory.php
Deletes a finished item from the queue.

File

core/lib/Drupal/Core/Queue/QueueInterface.php, line 77

Class

QueueInterface
Interface for a queue.

Namespace

Drupal\Core\Queue

Code

public function deleteItem($item);