public function Manager::__construct in Taxonomy Term Depth 8.2
Same name and namespace in other branches
- 8 src/QueueManager/Manager.php \Drupal\taxonomy_term_depth\QueueManager\Manager::__construct()
File
- src/
QueueManager/ Manager.php, line 29
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);
}