function QueueDatabaseFactory::get

Same name in other branches
  1. 9 core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php \Drupal\Core\Queue\QueueDatabaseFactory::get()
  2. 8.9.x core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php \Drupal\Core\Queue\QueueDatabaseFactory::get()
  3. 10 core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php \Drupal\Core\Queue\QueueDatabaseFactory::get()

Overrides QueueFactoryInterface::get

File

core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php, line 32

Class

QueueDatabaseFactory
Defines the queue factory for the database backend.

Namespace

Drupal\Core\Queue

Code

public function get($name) {
    return new DatabaseQueue($name, $this->connection);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.