public function MailInterface::getFromFormatted in Simplenews 3.x
Same name and namespace in other branches
- 8.2 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getFromFormatted()
- 8 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getFromFormatted()
Returns the formatted from mail address.
Return value
string The mail address with a name.
2 methods override MailInterface::getFromFormatted()
- MailEntity::getFromFormatted in src/
Mail/ MailEntity.php - Returns the formatted from mail address.
- MailTest::getFromFormatted in src/
Mail/ MailTest.php - Returns the formatted from mail address.
File
- src/
Mail/ MailInterface.php, line 125
Class
- MailInterface
- A newsletter mail.
Namespace
Drupal\simplenews\MailCode
public function getFromFormatted();