You are here

public function TemplateInterface::setBody in Workbench Email 2.x

Same name and namespace in other branches
  1. 8 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_email

Code

public function setBody(array $body);