You are here

public function EventMeta::getReplyTo in RNG - Events and Registrations 8.2

Same name and namespace in other branches
  1. 8 src/EventMeta.php \Drupal\rng\EventMeta::getReplyTo()
  2. 3.x src/EventMeta.php \Drupal\rng\EventMeta::getReplyTo()

Get the reply-to e-mail address for mails sent from this event.

Return value

string

Overrides EventMetaInterface::getReplyTo

File

src/EventMeta.php, line 161

Class

EventMeta
Meta event wrapper for RNG.

Namespace

Drupal\rng

Code

public function getReplyTo() {
  return $this
    ->getEvent()->{EventManagerInterface::FIELD_EMAIL_REPLY_TO}->value;
}