public function TemplateInterface::setBody in Workbench Email 8
Same name and namespace in other branches
- 2.x src/TemplateInterface.php \Drupal\workbench_email\TemplateInterface::setBody()
Sets the body.
Parameters
string[] $body: Body with keys value and format.
Return value
self Called instance
1 method overrides TemplateInterface::setBody()
- Template::setBody in src/
Entity/ Template.php - Sets the body.
File
- src/
TemplateInterface.php, line 47
Class
- TemplateInterface
- Provides an interface for defining Email Template entities.
Namespace
Drupal\workbench_emailCode
public function setBody(array $body);