function QueueInterface::deleteItem

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

1 method overrides QueueInterface::deleteItem()
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.