function QueueDatabaseFactory::get
Same name in other branches
- 9 core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php \Drupal\Core\Queue\QueueDatabaseFactory::get()
- 8.9.x core/lib/Drupal/Core/Queue/QueueDatabaseFactory.php \Drupal\Core\Queue\QueueDatabaseFactory::get()
- 11.x 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\QueueCode
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.