You are here

public function Memory::deleteItem in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::deleteItem()
  2. 9 core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::deleteItem()

File

core/lib/Drupal/Core/Queue/Memory.php, line 78

Class

Memory
Static queue implementation.

Namespace

Drupal\Core\Queue

Code

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