You are here

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

Email
Defines the email entity class.

Namespace

Drupal\commerce_email\Entity

Code

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