You are here

public function Pet::getMailbodyPlain in Previewable email templates 8

Same name and namespace in other branches
  1. 8.4 src/Entity/Pet.php \Drupal\pet\Entity\Pet::getMailbodyPlain()

Overrides PetInterface::getMailbodyPlain

File

src/Entity/Pet.php, line 342

Class

Pet
Defines pet entity class.

Namespace

Drupal\pet\Entity

Code

public function getMailbodyPlain() {
  return $this
    ->get('mail_body_plain')->value;
}