1 system.queue.inc public SystemQueue::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 268
Queue functionality.

Class

SystemQueue
Default queue implementation.

Code

public function deleteItem($item) {
  db_delete('queue')
    ->condition('item_id', $item->item_id)
    ->execute();
}