You are here

public function EmailInterface::setEmailAddress in Courier 8

Same name and namespace in other branches
  1. 2.x src/EmailInterface.php \Drupal\courier\EmailInterface::setEmailAddress()

Sets email address.

Parameters

string $mail: The recipient email address.

Return value

\Drupal\courier\EmailInterface Returns email for chaining.

1 method overrides EmailInterface::setEmailAddress()
Email::setEmailAddress in src/Entity/Email.php
Sets email address.

File

src/EmailInterface.php, line 34
Contains \Drupal\courier\EmailInterface.

Class

EmailInterface
Provides an interface defining a courier_email entity.

Namespace

Drupal\courier

Code

public function setEmailAddress($mail);