public function ContentHubExportQueueMessageSubscriber::__construct in Acquia Content Hub 8
Construct an ContentHubExportQueueMessageSubscriber object.
Parameters
\Drupal\acquia_contenthub\Controller\ContentHubExportQueueController $export_queue_controller: The Content Hub Export Queue Controller.
\Drupal\Core\Messenger\MessengerInterface $messenger: Messenger Service.
\Drupal\Core\Path\CurrentPathStack $current_path: Current Path Service.
File
- src/
EventSubscriber/ ContentHubExportQueueMessageSubscriber.php, line 55
Class
- ContentHubExportQueueMessageSubscriber
- Class ContentHubExportQueueMessageSubscriber.
Namespace
Drupal\acquia_contenthub\EventSubscriberCode
public function __construct(ContentHubExportQueueController $export_queue_controller, MessengerInterface $messenger, CurrentPathStack $current_path) {
$this->contentHubExportQueueController = $export_queue_controller;
$this->messenger = $messenger;
$this->currentPath = $current_path;
}