public function EasyEmailInterface::setHtmlBody in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Entity/EasyEmailInterface.php \Drupal\easy_email\Entity\EasyEmailInterface::setHtmlBody()
Sets the HTML body text and text format
Parameters
string $text: The HTML text
string $format: The text format to render in
Return value
$this
1 method overrides EasyEmailInterface::setHtmlBody()
- EasyEmail::setHtmlBody in src/
Entity/ EasyEmail.php - @inheritDoc
File
- src/
Entity/ EasyEmailInterface.php, line 409
Class
- EasyEmailInterface
- Provides an interface for defining Email entities.
Namespace
Drupal\easy_email\EntityCode
public function setHtmlBody($text, $format);