You are here

public function AcquiaContentHubPublisherAuditEntityCommands::__construct in Acquia Content Hub 8.2

AcquiaContentHubPublisherAuditEntityCommands constructor.

Parameters

\Drupal\acquia_contenthub_publisher\PublisherTracker $tracker: The published entity tracker.

\Drupal\Core\Queue\QueueFactory $queue_factory: Queue factory.

\Drupal\acquia_contenthub_publisher\PublisherActions $publisher_actions: The Dependency Calculator.

\Drupal\acquia_contenthub\ContentHubCommonActions $common_actions: The Content Hub Common Actions Service.

\Drupal\acquia_contenthub\Client\ClientFactory $factory: The Content Hub Client Factory.

File

modules/acquia_contenthub_publisher/src/Commands/AcquiaContentHubPublisherAuditEntityCommands.php, line 94

Class

AcquiaContentHubPublisherAuditEntityCommands
Drush commands for Acquia Content Hub Publishers Audit Entity.

Namespace

Drupal\acquia_contenthub_publisher\Commands

Code

public function __construct(PublisherTracker $tracker, QueueFactory $queue_factory, PublisherActions $publisher_actions, ContentHubCommonActions $common_actions, ClientFactory $factory) {
  $this->queue = $queue_factory
    ->get('acquia_contenthub_publish_export');
  $this->tracker = $tracker;
  $this->publisherActions = $publisher_actions;
  $this->commonActions = $common_actions;
  $this->factory = $factory;
}