public function TrackTotals::__construct in Acquia Content Hub 8.2
Same name in this branch
- 8.2 modules/acquia_contenthub_subscriber/src/EventSubscriber/PromoteEntityStatusTrack/TrackTotals.php \Drupal\acquia_contenthub_subscriber\EventSubscriber\PromoteEntityStatusTrack\TrackTotals::__construct()
- 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\PromoteEntityStatusTrackCode
public function __construct(PublisherTracker $tracker) {
$this->tracker = $tracker;
}