function MailInterface::getFormat in Simplenews 8
Same name and namespace in other branches
- 8.2 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getFormat()
- 3.x src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getFormat()
Returns the mail format.
Return value
string The mail format as string, either 'plain' or 'html'.
2 methods override MailInterface::getFormat()
- MailEntity::getFormat in src/
Mail/ MailEntity.php - Returns the mail format.
- MailTest::getFormat in src/
Mail/ MailTest.php - Returns the mail format.
File
- src/
Mail/ MailInterface.php, line 67
Class
- MailInterface
- A newsletter mail.
Namespace
Drupal\simplenews\MailCode
function getFormat();