public function PruneImportedEntitiesFromExport::__construct in Acquia Content Hub 8.2
TrackTotals constructor.
Parameters
\Drupal\acquia_contenthub_subscriber\SubscriberTracker $tracker: Subscriber tracker.
\Drupal\acquia_contenthub\PubSubModuleStatusChecker $checker: Status checker.
\Drupal\Core\Entity\EntityRepositoryInterface $entity_repository: Entity Repository.
File
- modules/
acquia_contenthub_subscriber/ src/ EventSubscriber/ PrunePublishEntities/ PruneImportedEntitiesFromExport.php, line 50
Class
- PruneImportedEntitiesFromExport
- Prunes imported entities so they are not exported.
Namespace
Drupal\acquia_contenthub_subscriber\EventSubscriber\PrunePublishEntitiesCode
public function __construct(SubscriberTracker $tracker, PubSubModuleStatusChecker $checker, EntityRepositoryInterface $entity_repository) {
$this->tracker = $tracker;
$this->checker = $checker;
$this->entityRepository = $entity_repository;
}