function QueueDatabaseFactory::get
Constructs a new queue object for a given name.
Parameters
string $name: The name of the queue.
Return value
\Drupal\Core\Queue\QueueInterface The queue object.
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.