You are here

public function EmailInterface::setBody in Courier 8

Same name and namespace in other branches
  1. 2.x src/EmailInterface.php \Drupal\courier\EmailInterface::setBody()

Sets the email body.

Parameters

string $body: The email body.

Return value

\Drupal\courier\EmailInterface Returns email for chaining.

1 method overrides EmailInterface::setBody()
Email::setBody in src/Entity/Email.php
Sets the email body.

File

src/EmailInterface.php, line 91
Contains \Drupal\courier\EmailInterface.

Class

EmailInterface
Provides an interface defining a courier_email entity.

Namespace

Drupal\courier

Code

public function setBody($body);