You are here

public function SchedulerManager::__construct in Scheduler 2.x

Same name and namespace in other branches
  1. 8 src/SchedulerManager.php \Drupal\scheduler\SchedulerManager::__construct()

Constructs a SchedulerManager object.

File

src/SchedulerManager.php, line 94

Class

SchedulerManager
Defines a scheduler manager.

Namespace

Drupal\scheduler

Code

public function __construct(DateFormatterInterface $dateFormatter, LoggerInterface $logger, ModuleHandlerInterface $moduleHandler, EntityTypeManagerInterface $entityTypeManager, ConfigFactoryInterface $configFactory, ContainerAwareEventDispatcher $eventDispatcher, TimeInterface $time, EntityFieldManagerInterface $entityFieldManager, SchedulerPluginManager $pluginManager) {
  $this->dateFormatter = $dateFormatter;
  $this->logger = $logger;
  $this->moduleHandler = $moduleHandler;
  $this->entityTypeManager = $entityTypeManager;
  $this->configFactory = $configFactory;
  $this->eventDispatcher = $eventDispatcher;
  $this->time = $time;
  $this->entityFieldManager = $entityFieldManager;
  $this->pluginManager = $pluginManager;
}