You are here

public function Template::getSubject in Workbench Email 2.x

Same name and namespace in other branches
  1. 8 src/Entity/Template.php \Drupal\workbench_email\Entity\Template::getSubject()

Gets the template subject.

Return value

string Template subject.

Overrides TemplateInterface::getSubject

File

src/Entity/Template.php, line 125

Class

Template
Defines the Email Template entity.

Namespace

Drupal\workbench_email\Entity

Code

public function getSubject() {
  return $this->subject;
}