You are here

public function ScheduledPublishCron::__construct in Scheduled Publish 8

Same name and namespace in other branches
  1. 8.3 src/Service/ScheduledPublishCron.php \Drupal\scheduled_publish\Service\ScheduledPublishCron::__construct()
  2. 8.2 src/Service/ScheduledPublishCron.php \Drupal\scheduled_publish\Service\ScheduledPublishCron::__construct()

File

src/Service/ScheduledPublishCron.php, line 41

Class

ScheduledPublishCron
Class ScheduledPublishCron

Namespace

Drupal\scheduled_publish\Service

Code

public function __construct(EntityTypeBundleInfoInterface $entityBundleInfo, EntityFieldManagerInterface $entityFieldManager, EntityTypeManagerInterface $entityTypeManager, TimeInterface $dateTime) {
  $this->entityBundleInfoService = $entityBundleInfo;
  $this->entityFieldManager = $entityFieldManager;
  $this->entityTypeManager = $entityTypeManager;
  $this->dateTime = $dateTime;
}