Loading core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php +1 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ protected function getMailer(): MailerInterface { // mails into the code path (i.e., event subscribers) of the new API. // Therefore, this plugin deliberately refrains from injecting the event // dispatcher. $factories = Transport::getDefaultFactories(logger: $this->logger); $factories = Transport::getDefaultFactories(); $transportFactory = new Transport($factories); $transport = $transportFactory->fromDsnObject($dsnObject); $this->mailer = new Mailer($transport); Loading Loading
core/lib/Drupal/Core/Mail/Plugin/Mail/SymfonyMailer.php +1 −1 Original line number Diff line number Diff line Loading @@ -166,7 +166,7 @@ protected function getMailer(): MailerInterface { // mails into the code path (i.e., event subscribers) of the new API. // Therefore, this plugin deliberately refrains from injecting the event // dispatcher. $factories = Transport::getDefaultFactories(logger: $this->logger); $factories = Transport::getDefaultFactories(); $transportFactory = new Transport($factories); $transport = $transportFactory->fromDsnObject($dsnObject); $this->mailer = new Mailer($transport); Loading