1 system.queue.inc public MemoryQueue::deleteItem($item)

Delete a finished item from the queue.

Parameters

$item: The item returned by BackdropQueueInterface::claimItem().

Overrides BackdropQueueInterface::deleteItem

File

core/modules/system/system.queue.inc, line 345
Queue functionality.

Class

MemoryQueue
Static queue implementation.

Code

public function deleteItem($item) {
  unset($this->queue[$item->item_id]);
}