You are here

public function EmailInterface::setSubject in Courier 2.x

Same name and namespace in other branches
  1. 8 src/EmailInterface.php \Drupal\courier\EmailInterface::setSubject()

Set subject of the email.

Parameters

string $subject: Subject of the email.

Return value

\Drupal\courier\EmailInterface Returns email for chaining.

1 method overrides EmailInterface::setSubject()
Email::setSubject in src/Entity/Email.php
Set subject of the email.

File

src/EmailInterface.php, line 67

Class

EmailInterface
Provides an interface defining a courier_email entity.

Namespace

Drupal\courier

Code

public function setSubject($subject);