public function QueueHelper::__construct in Entity Share 8.3
Same name and namespace in other branches
- 8.2 modules/entity_share_async/src/Service/QueueHelper.php \Drupal\entity_share_async\Service\QueueHelper::__construct()
QueueHelper constructor.
Parameters
\Drupal\Core\Queue\QueueFactory $queue_factory: The queue factory service.
\Drupal\Core\State\StateInterface $state: The state service.
File
- modules/
entity_share_async/ src/ Service/ QueueHelper.php, line 39
Class
- QueueHelper
- Populate a queue for asynchronous treatment.
Namespace
Drupal\entity_share_async\ServiceCode
public function __construct(QueueFactory $queue_factory, StateInterface $state) {
$this->queueFactory = $queue_factory;
$this->state = $state;
}