public function MailTest::getPlainBody in Simplenews 8.2
Same name and namespace in other branches
- 8 src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getPlainBody()
- 3.x src/Mail/MailTest.php \Drupal\simplenews\Mail\MailTest::getPlainBody()
Returns the plaintext body.
Return value
string The body as plain text.
Overrides MailInterface::getPlainBody
1 call to MailTest::getPlainBody()
- MailTest::getBody in src/
Mail/ MailTest.php - Returns the mail body.
File
- src/
Mail/ MailTest.php, line 101
Class
- MailTest
- Example mail implementation used for tests.
Namespace
Drupal\simplenews\MailCode
public function getPlainBody() {
return 'the plain body';
}