public function AcquiaContentHubSubscriberAuditCommands::__construct in Acquia Content Hub 8.2
AcquiaContentHubPublisherAuditCommands constructor.
Parameters
\Drupal\acquia_contenthub_subscriber\SubscriberTracker $tracker: The published entity tracker.
\Drupal\Core\Queue\QueueFactory $queue_factory: Queue factory.
File
- modules/
acquia_contenthub_subscriber/ src/ Commands/ AcquiaContentHubSubscriberAuditCommands.php, line 42
Class
- AcquiaContentHubSubscriberAuditCommands
- Drush commands for Acquia Content Hub Subscriber Audit.
Namespace
Drupal\acquia_contenthub_subscriber\CommandsCode
public function __construct(SubscriberTracker $tracker, QueueFactory $queue_factory) {
$this->queue = $queue_factory
->get('acquia_contenthub_subscriber_import');
$this->tracker = $tracker;
}