function DatabaseQueue::createQueue
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Queue/DatabaseQueue.php \Drupal\Core\Queue\DatabaseQueue::createQueue()
- 10 core/lib/Drupal/Core/Queue/DatabaseQueue.php \Drupal\Core\Queue\DatabaseQueue::createQueue()
- 11.x core/lib/Drupal/Core/Queue/DatabaseQueue.php \Drupal\Core\Queue\DatabaseQueue::createQueue()
Overrides QueueInterface::createQueue
File
-
core/
lib/ Drupal/ Core/ Queue/ DatabaseQueue.php, line 218
Class
- DatabaseQueue
- Default queue implementation.
Namespace
Drupal\Core\QueueCode
public function createQueue() {
// All tasks are stored in a single database table (which is created on
// demand) so there is nothing we need to do to create a new queue.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.