public function Email::getBodyFormat in Courier 8
Same name and namespace in other branches
- 2.x src/Entity/Email.php \Drupal\courier\Entity\Email::getBodyFormat()
Returns the email body format.
Return value
string Format of the email body.
Overrides EmailInterface::getBodyFormat
File
- src/
Entity/ Email.php, line 109 - Contains \Drupal\courier\Entity\Email.
Class
- Defines storage for a composed email.
Namespace
Drupal\courier\EntityCode
public function getBodyFormat() {
return $this
->get('body')->format;
}