Memory::deleteQueue

public Memory::deleteQueue()

Deletes a queue and every item in the queue.

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 = array();
  $this->idSequence = 0;
}
doc_Drupal
2016-10-29 09:25:42
Comments
Leave a Comment

Please login to continue.