public Memory::deleteItem($item)
Deletes a finished item from the queue.
Parameters
$item: The item returned by \Drupal\Core\Queue\QueueInterface::claimItem().
Overrides QueueInterface::deleteItem
File
- core/lib/Drupal/Core/Queue/Memory.php, line 77
Class
- Memory
- Static queue implementation.
Namespace
Drupal\Core\Queue
Code
public function deleteItem($item) { unset($this->queue[$item->item_id]); }
Please login to continue.