You are here

public function SocialEventManagersSendEmail::__construct in Open Social 8.8

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php \Drupal\social_event_managers\Plugin\Action\SocialEventManagersSendEmail::__construct()
  2. 8.6 modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php \Drupal\social_event_managers\Plugin\Action\SocialEventManagersSendEmail::__construct()
  3. 8.7 modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php \Drupal\social_event_managers\Plugin\Action\SocialEventManagersSendEmail::__construct()
  4. 10.3.x modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php \Drupal\social_event_managers\Plugin\Action\SocialEventManagersSendEmail::__construct()
  5. 10.0.x modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php \Drupal\social_event_managers\Plugin\Action\SocialEventManagersSendEmail::__construct()
  6. 10.1.x modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php \Drupal\social_event_managers\Plugin\Action\SocialEventManagersSendEmail::__construct()
  7. 10.2.x modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php \Drupal\social_event_managers\Plugin\Action\SocialEventManagersSendEmail::__construct()

Constructs a SocialSendEmail object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin ID for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Utility\Token $token: The token service.

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Psr\Log\LoggerInterface $logger: A logger instance.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

\Egulias\EmailValidator\EmailValidator $email_validator: The email validator.

\Drupal\Core\Queue\QueueFactory $queue_factory: The queue factory.

bool $allow_text_format: TRUE if the current user can use the "Mail HTML" text format.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

Overrides SocialSendEmail::__construct

1 call to SocialEventManagersSendEmail::__construct()
SocialEventAnEnrollSendEmail::__construct in modules/social_features/social_event/modules/social_event_an_enroll/src/Plugin/Action/SocialEventAnEnrollSendEmail.php
Constructs a SocialEventAnEnrollSendEmail object.
1 method overrides SocialEventManagersSendEmail::__construct()
SocialEventAnEnrollSendEmail::__construct in modules/social_features/social_event/modules/social_event_an_enroll/src/Plugin/Action/SocialEventAnEnrollSendEmail.php
Constructs a SocialEventAnEnrollSendEmail object.

File

modules/social_features/social_event/modules/social_event_managers/src/Plugin/Action/SocialEventManagersSendEmail.php, line 44

Class

SocialEventManagersSendEmail
Send email to event enrollment users.

Namespace

Drupal\social_event_managers\Plugin\Action

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, Token $token, EntityTypeManagerInterface $entity_type_manager, LoggerInterface $logger, LanguageManagerInterface $language_manager, EmailValidator $email_validator, QueueFactory $queue_factory, $allow_text_format) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $token, $entity_type_manager, $logger, $language_manager, $email_validator, $queue_factory, $allow_text_format);
  $this->entityTypeManager = $entity_type_manager;
}