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_subscriber\SubscriberTracker $tracker: Subscriber tracker.
File
- modules/
acquia_contenthub_subscriber/ src/ EventSubscriber/ PromoteEntityStatusTrack/ TrackTotals.php, line 30
Class
- TrackTotals
- Class TrackTotals to track subscribed entities in the client CDF object.
Namespace
Drupal\acquia_contenthub_subscriber\EventSubscriber\PromoteEntityStatusTrackCode
public function __construct(SubscriberTracker $tracker) {
$this->tracker = $tracker;
}