function OriginatorSubscriber::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Mailer/EventSubscriber/OriginatorSubscriber.php \Drupal\Core\Mailer\EventSubscriber\OriginatorSubscriber::__construct()

File

core/lib/Drupal/Core/Mailer/EventSubscriber/OriginatorSubscriber.php, line 19

Class

OriginatorSubscriber
Message subscriber which sets the from and sender headers.

Namespace

Drupal\Core\Mailer\EventSubscriber

Code

public function __construct(protected readonly ConfigFactoryInterface $configFactory, protected readonly LanguageManagerInterface $languageManager) {
}

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