You are here

public function ContentHubImportQueueWorker::initializeClient in Acquia Content Hub 8.2

Initializes the Connection Manager.

1 call to ContentHubImportQueueWorker::initializeClient()
ContentHubImportQueueWorker::processItem in modules/acquia_contenthub_subscriber/src/Plugin/QueueWorker/ContentHubImportQueueWorker.php
Processes acquia_contenthub_subscriber_import queue items.

File

modules/acquia_contenthub_subscriber/src/Plugin/QueueWorker/ContentHubImportQueueWorker.php, line 133

Class

ContentHubImportQueueWorker
Queue worker for importing entities.

Namespace

Drupal\acquia_contenthub_subscriber\Plugin\QueueWorker

Code

public function initializeClient() : void {
  if (empty($this->client)) {
    $this->client = $this->factory
      ->getClient();
  }
}