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

Delete a queue and every item in the queue.

Overrides BackdropQueueInterface::deleteQueue

File

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

Class

SystemQueue
Default queue implementation.

Code

public function deleteQueue() {
  db_delete('queue')
    ->condition('name', $this->name)
    ->execute();
}