You are here

public function EmailInterface::setEmailAddress in Courier 2.x

Same name and namespace in other branches
  1. 8 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 29

Class

EmailInterface
Provides an interface defining a courier_email entity.

Namespace

Drupal\courier

Code

public function setEmailAddress($mail);