You are here

public function TrackTotals::__construct in Acquia Content Hub 8.2

Same name in this branch
  1. 8.2 modules/acquia_contenthub_subscriber/src/EventSubscriber/PromoteEntityStatusTrack/TrackTotals.php \Drupal\acquia_contenthub_subscriber\EventSubscriber\PromoteEntityStatusTrack\TrackTotals::__construct()
  2. 8.2 modules/acquia_contenthub_publisher/src/EventSubscriber/PromoteEntityStatusTrack/TrackTotals.php \Drupal\acquia_contenthub_publisher\EventSubscriber\PromoteEntityStatusTrack\TrackTotals::__construct()

TrackTotals constructor.

Parameters

\Drupal\acquia_contenthub_publisher\PublisherTracker $tracker: Publisher tracker.

File

modules/acquia_contenthub_publisher/src/EventSubscriber/PromoteEntityStatusTrack/TrackTotals.php, line 30

Class

TrackTotals
Class TrackTotals to track published entities in the client CDF object.

Namespace

Drupal\acquia_contenthub_publisher\EventSubscriber\PromoteEntityStatusTrack

Code

public function __construct(PublisherTracker $tracker) {
  $this->tracker = $tracker;
}