You are here

public function EmailInterface::setBodyFormat in Courier 8

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

Sets the email body format.

Parameters

string $format: The email body format.

Return value

\Drupal\courier\EmailInterface Returns email for chaining.

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

File

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

Class

EmailInterface
Provides an interface defining a courier_email entity.

Namespace

Drupal\courier

Code

public function setBodyFormat($format);