function QueueFactory::__construct

Same name 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. 10 core/lib/Drupal/Core/Queue/QueueFactory.php \Drupal\Core\Queue\QueueFactory::__construct()

Constructs QueueFactory object.

Parameters

\Drupal\Core\Site\Settings $settings: The site settings.

\Psr\Container\ContainerInterface $container: A service locator that contains the queue services.

File

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

Class

QueueFactory
Defines the queue factory.

Namespace

Drupal\Core\Queue

Code

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

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