function QueueFactory::__construct

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Queue/QueueFactory.php \Drupal\Core\Queue\QueueFactory::__construct()
  2. 8.9.x core/lib/Drupal/Core/Queue/QueueFactory.php \Drupal\Core\Queue\QueueFactory::__construct()
  3. 11.x core/lib/Drupal/Core/Queue/QueueFactory.php \Drupal\Core\Queue\QueueFactory::__construct()

Constructs a queue factory.

File

core/lib/Drupal/Core/Queue/QueueFactory.php, line 33

Class

QueueFactory
Defines the queue factory.

Namespace

Drupal\Core\Queue

Code

public function __construct(Settings $settings) {
    $this->settings = $settings;
}

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