You are here

public function Template::getBody in Workbench Email 8

Same name and namespace in other branches
  1. 2.x 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\Entity

Code

public function getBody() {
  return $this->body;
}