You are here

public function EmailInterface::setSubject in Courier 8

Same name and namespace in other branches
  1. 2.x 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 72
Contains \Drupal\courier\EmailInterface.

Class

EmailInterface
Provides an interface defining a courier_email entity.

Namespace

Drupal\courier

Code

public function setSubject($subject);