public function Manager::__construct in Taxonomy Term Depth 8
Same name and namespace in other branches
- 8.2 src/QueueManager/Manager.php \Drupal\taxonomy_term_depth\QueueManager\Manager::__construct()
File
- src/
QueueManager/ Manager.php, line 30 - Manages queue operations.
Class
Namespace
Drupal\taxonomy_term_depth\QueueManagerCode
public function __construct() {
$this
->setVid();
/** @var QueueFactory $queue_factory */
$queue_factory = \Drupal::service('queue');
/** @var QueueInterface $queue */
$this->queue = $queue_factory
->get(static::QUEUE_ID);
}