public function DatabaseQueue::deleteQueue in Purge 8.3
Deletes a queue and every item in the queue.
Overrides DatabaseQueue::deleteQueue
File
- src/
Plugin/ Purge/ Queue/ DatabaseQueue.php, line 274
Class
- DatabaseQueue
- A QueueInterface compliant database backed queue.
Namespace
Drupal\purge\Plugin\Purge\QueueCode
public function deleteQueue() {
$this->connection
->delete(static::TABLE_NAME)
->execute();
}