function MailHandler::__construct

Same name in this branch
  1. main core/modules/contact/src/MailHandler.php \Drupal\contact\MailHandler::__construct()
Same name and namespace in other branches
  1. 11.x core/modules/contact/src/MailHandler.php \Drupal\contact\MailHandler::__construct()
  2. 10 core/modules/contact/src/MailHandler.php \Drupal\contact\MailHandler::__construct()
  3. 9 core/modules/contact/src/MailHandler.php \Drupal\contact\MailHandler::__construct()
  4. 8.9.x core/modules/contact/src/MailHandler.php \Drupal\contact\MailHandler::__construct()
  5. 11.x core/modules/update/src/MailHandler.php \Drupal\update\MailHandler::__construct()

File

core/modules/update/src/MailHandler.php, line 20

Class

MailHandler
A service to handle assembly and dispatch of Update Status mail messages.

Namespace

Drupal\update

Code

public function __construct(protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly LanguageManagerInterface $languageManager, protected readonly TimeInterface $time, #[AutowireServiceClosure('plugin.manager.mail')] protected readonly \Closure $mailManager) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.