public function QueueInterface::deleteItem

8.x QueueInterface.php public QueueInterface::deleteItem($item)

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 drupal/core/lib/Drupal/Core/Queue/DatabaseQueue.php
Implements Drupal\Core\Queue\QueueInterface::deleteItem().
Memory::deleteItem in drupal/core/lib/Drupal/Core/Queue/Memory.php
Implements Drupal\Core\Queue\QueueInterface::deleteItem().

File

drupal/core/lib/Drupal/Core/Queue/QueueInterface.php, line 80
Definition of Drupal\Core\Queue\QueueInterface.

Class

QueueInterface
Interface for a queue.

Namespace

Drupal\Core\Queue

Code

public function deleteItem($item);