public function WebformScheduledEmailManager::__construct in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_scheduled_email/src/WebformScheduledEmailManager.php \Drupal\webform_scheduled_email\WebformScheduledEmailManager::__construct()
Constructs a WebformScheduledEmailManager object.
Parameters
\Drupal\Component\Datetime\TimeInterface $time: The time service.
\Drupal\Core\Database\Connection $database: The database connection.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The configuration object factory.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\webform\WebformTokenManagerInterface $token_manager: The webform token manager.
\Drupal\webform\WebformEntityReferenceManagerInterface $entity_reference_manager: The webform entity reference manager.
File
- modules/
webform_scheduled_email/ src/ WebformScheduledEmailManager.php, line 99
Class
- WebformScheduledEmailManager
- Defines the webform scheduled email manager.
Namespace
Drupal\webform_scheduled_emailCode
public function __construct(TimeInterface $time, Connection $database, LanguageManagerInterface $language_manager, ConfigFactoryInterface $config_factory, LoggerChannelFactoryInterface $logger_factory, EntityTypeManagerInterface $entity_type_manager, WebformTokenManagerInterface $token_manager, WebformEntityReferenceManagerInterface $entity_reference_manager) {
$this->time = $time;
$this->database = $database;
$this->languageManager = $language_manager;
$this->configFactory = $config_factory;
$this->loggerFactory = $logger_factory;
$this->entityTypeManager = $entity_type_manager;
$this->tokenManager = $token_manager;
$this->entityReferenceManager = $entity_reference_manager;
}