You are here

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

Same name and namespace in other branches
  1. 8 src/TemplateInterface.php \Drupal\workbench_email\TemplateInterface::getBody()

Gets the template body - array with keys value and format.

Return value

string[] Template body.

1 method overrides TemplateInterface::getBody()
Template::getBody in src/Entity/Template.php
Gets the template body - array with keys value and format.

File

src/TemplateInterface.php, line 28

Class

TemplateInterface
Provides an interface for defining Email Template entities.

Namespace

Drupal\workbench_email

Code

public function getBody();