You are here

public function Pet::setMailbody in Previewable email templates 8

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

Overrides PetInterface::setMailbody

File

src/Entity/Pet.php, line 334

Class

Pet
Defines pet entity class.

Namespace

Drupal\pet\Entity

Code

public function setMailbody($mail_body) {
  $this
    ->set('mail_body', $mail_body);
  return $this;
}