public function QueueMongodb::deleteQueue in MongoDB 8
Delete a queue and every item in the queue.
Overrides QueueInterface::deleteQueue
File
- src/
QueueMongodb.php, line 145 - Contains \Drupal\mongodb\QueueMongodb
Class
- QueueMongodb
- MongoDB queue implementation.
Namespace
Drupal\mongodbCode
public function deleteQueue() {
$this
->mongoCollection()
->drop();
}