public function ScheduledPublishCron::__construct in Scheduled Publish 8.3
Same name and namespace in other branches
- 8 src/Service/ScheduledPublishCron.php \Drupal\scheduled_publish\Service\ScheduledPublishCron::__construct()
- 8.2 src/Service/ScheduledPublishCron.php \Drupal\scheduled_publish\Service\ScheduledPublishCron::__construct()
ScheduledPublishCron constructor.
Parameters
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityBundleInfo:
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager:
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager:
\Drupal\Component\Datetime\TimeInterface $dateTime:
\Drupal\content_moderation\ModerationInformationInterface $moderation_info:
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger:
File
- src/
Service/ ScheduledPublishCron.php, line 81
Class
- ScheduledPublishCron
- Class ScheduledPublishCron
Namespace
Drupal\scheduled_publish\ServiceCode
public function __construct(EntityTypeBundleInfoInterface $entityBundleInfo, EntityFieldManagerInterface $entityFieldManager, EntityTypeManagerInterface $entityTypeManager, TimeInterface $dateTime, ModerationInformationInterface $moderation_info, LoggerChannelFactoryInterface $logger) {
$this->entityBundleInfoService = $entityBundleInfo;
$this->entityFieldManager = $entityFieldManager;
$this->entityTypeManager = $entityTypeManager;
$this->dateTime = $dateTime;
$this->moderationInfo = $moderation_info;
$this->logger = $logger;
}