public function Email::setSubject in Commerce Email 8
Sets the subject.
Parameters
string $subject: The subject.
Return value
$this
Overrides EmailInterface::setSubject
File
- src/
Entity/ Email.php, line 267
Class
- Defines the email entity class.
Namespace
Drupal\commerce_email\EntityCode
public function setSubject($subject) {
$this->subject = $subject;
return $this;
}