function NotificationHandler::getReplyToAddress

Same name and namespace in other branches
  1. main core/modules/user/src/NotificationHandler.php \Drupal\user\NotificationHandler::getReplyToAddress()

Returns the email address used in the reply-to field.

Return value

non-empty-string|null Email address used in the reply-to field.

1 call to NotificationHandler::getReplyToAddress()
NotificationHandler::sendToUser in core/modules/user/src/NotificationHandler.php
Sends a notification email following a change to a user account.

File

core/modules/user/src/NotificationHandler.php, line 189

Class

NotificationHandler
Implements a service to dispatch user notification messages.

Namespace

Drupal\user

Code

protected function getReplyToAddress() : ?string {
  return $this->getAdminAddress();
}

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