function Memory::deleteQueue

Same name in other branches
  1. 9 core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::deleteQueue()
  2. 10 core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::deleteQueue()
  3. 11.x core/lib/Drupal/Core/Queue/Memory.php \Drupal\Core\Queue\Memory::deleteQueue()

Overrides QueueInterface::deleteQueue

File

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

Class

Memory
Static queue implementation.

Namespace

Drupal\Core\Queue

Code

public function deleteQueue() {
    $this->queue = [];
    $this->idSequence = 0;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.