public function Template::setSubject in Workbench Email 2.x
Same name and namespace in other branches
- 8 src/Entity/Template.php \Drupal\workbench_email\Entity\Template::setSubject()
Sets the subject.
Parameters
string $subject: Template subject.
Return value
self Called instance.
Overrides TemplateInterface::setSubject
File
- src/
Entity/ Template.php, line 154
Class
- Template
- Defines the Email Template entity.
Namespace
Drupal\workbench_email\EntityCode
public function setSubject($subject) {
$this->subject = $subject;
return $this;
}