public function QueueInterface::deleteItem in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Queue/QueueInterface.php \Drupal\Core\Queue\QueueInterface::deleteItem()
- 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\QueueCode
public function deleteItem($item);