public function Email::getEmailAddress in Courier 8
Same name and namespace in other branches
- 2.x src/Entity/Email.php \Drupal\courier\Entity\Email::getEmailAddress()
Get the email address.
Return value
string The email address of the recipient.
Overrides EmailInterface::getEmailAddress
File
- src/
Entity/ Email.php, line 49 - Contains \Drupal\courier\Entity\Email.
Class
- Defines storage for a composed email.
Namespace
Drupal\courier\EntityCode
public function getEmailAddress() {
return $this
->get('mail')->value;
}