public function Template::getBody in Workbench Email 2.x
Same name and namespace in other branches
- 8 src/Entity/Template.php \Drupal\workbench_email\Entity\Template::getBody()
Gets the template body - array with keys value and format.
Return value
string[] Template body.
Overrides TemplateInterface::getBody
File
- src/
Entity/ Template.php, line 132
Class
- Template
- Defines the Email Template entity.
Namespace
Drupal\workbench_email\EntityCode
public function getBody() {
return $this->body;
}