You are here

public function ContentHubExportQueueController::__construct in Acquia Content Hub 8

File

src/Controller/ContentHubExportQueueController.php, line 53

Class

ContentHubExportQueueController
Implements an Export Queue Controller for Content Hub.

Namespace

Drupal\acquia_contenthub\Controller

Code

public function __construct(QueueFactory $queue_factory, QueueWorkerManagerInterface $queue_manager, ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory) {
  $this->queueFactory = $queue_factory;
  $this->queueManager = $queue_manager;
  $this->config = $config_factory
    ->get('acquia_contenthub.entity_config');
  $this->logger = $logger_factory
    ->get('acquia_contenthub');
}