You are here

public function EventMeta::getReplyTo in RNG - Events and Registrations 3.x

Same name and namespace in other branches
  1. 8.2 src/EventMeta.php \Drupal\rng\EventMeta::getReplyTo()
  2. 8 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 171

Class

EventMeta
Meta event wrapper for RNG.

Namespace

Drupal\rng

Code

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