1 system.queue.inc public MemoryQueue::deleteQueue()

Delete a queue and every item in the queue.

Overrides BackdropQueueInterface::deleteQueue

File

core/modules/system/system.queue.inc, line 361
Queue functionality.

Class

MemoryQueue
Static queue implementation.

Code

public function deleteQueue() {
  $this->queue = array();
  $this->id_sequence = 0;
}