function QueueInterface::deleteItem

Same name in other branches
  1. 9 core/lib/Drupal/Core/Queue/QueueInterface.php \Drupal\Core\Queue\QueueInterface::deleteItem()
  2. 8.9.x core/lib/Drupal/Core/Queue/QueueInterface.php \Drupal\Core\Queue\QueueInterface::deleteItem()
  3. 10 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);

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