You are here

public function EasyEmailType::setRecipient in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/EasyEmailType.php \Drupal\easy_email\Entity\EasyEmailType::setRecipient()

Parameters

array $recipient:

Return value

$this

Overrides EasyEmailTypeInterface::setRecipient

File

src/Entity/EasyEmailType.php, line 260

Class

EasyEmailType
Defines the Email template entity.

Namespace

Drupal\easy_email\Entity

Code

public function setRecipient($recipient) {
  $this->recipient = $recipient;
  return $this;
}