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