public function TemplateInterface::setSubject in Workbench Email 2.x
Same name and namespace in other branches
- 8 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_emailCode
public function setSubject($subject);