public function EventMeta::getReplyTo in RNG - Events and Registrations 8
Same name and namespace in other branches
- 8.2 src/EventMeta.php \Drupal\rng\EventMeta::getReplyTo()
- 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 135
Class
- EventMeta
- Meta event wrapper for RNG.
Namespace
Drupal\rngCode
public function getReplyTo() {
return $this
->getEvent()->{EventManagerInterface::FIELD_EMAIL_REPLY_TO}->value;
}