public function MailInterface::getPlainBody in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getPlainBody()
- 3.x src/Mail/MailInterface.php \Drupal\simplenews\Mail\MailInterface::getPlainBody()
Returns the plaintext body.
Return value
string The body as plain text.
2 methods override MailInterface::getPlainBody()
- MailEntity::getPlainBody in src/
Mail/ MailEntity.php - Returns the plaintext body.
- MailTest::getPlainBody in src/
Mail/ MailTest.php - Returns the plaintext body.
File
- src/
Mail/ MailInterface.php, line 61
Class
- MailInterface
- A newsletter mail.
Namespace
Drupal\simplenews\MailCode
public function getPlainBody();