You are here

function MailInterface::getFromFormatted in Simplenews 8

Same name and namespace in other branches
  1. 8.2 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getFromFormatted()
  2. 3.x 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 123

Class

MailInterface
A newsletter mail.

Namespace

Drupal\simplenews\Mail

Code

function getFromFormatted();