You are here

public function TemplateInterface::setSubject in Workbench Email 8

Same name and namespace in other branches
  1. 2.x src/TemplateInterface.php \Drupal\workbench_email\TemplateInterface::setSubject()

Sets the subject.

Parameters

string $subject: Template subject.

Return value

self Called instance.

1 method overrides TemplateInterface::setSubject()
Template::setSubject in src/Entity/Template.php
Sets the subject.

File

src/TemplateInterface.php, line 58

Class

TemplateInterface
Provides an interface for defining Email Template entities.

Namespace

Drupal\workbench_email

Code

public function setSubject($subject);