public function Memory::deleteItem in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::deleteItem()
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 82 - Contains \Drupal\Core\Queue\Memory.
Class
- Memory
- Static queue implementation.
Namespace
Drupal\Core\QueueCode
public function deleteItem($item) {
unset($this->queue[$item->item_id]);
}