You are here

public function ContentPublishingActions::__construct in Acquia Lift Connector 8.4

ContentPublishingActions constructor.

Parameters

\Drupal\acquia_contenthub_publisher\ContentHubExportQueue $content_hub_export_queue: The Content Hub export queue service.

\Drupal\Core\Config\ImmutableConfig $config: The acquia lift publishing settings.

File

modules/acquia_lift_publisher/src/ContentPublishingActions.php, line 41

Class

ContentPublishingActions
Contains helper methods for managing Content Hub exports.

Namespace

Drupal\acquia_lift_publisher

Code

public function __construct(ContentHubExportQueue $content_hub_export_queue, ImmutableConfig $config) {
  $this->exportQueue = $content_hub_export_queue;
  $this->publisherSettings = $config;
}