You are here

public function MailInterface::getPlainBody in Simplenews 3.x

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

Code

public function getPlainBody();