You are here

public function TeamInvitation::setRecipient in Apigee Edge 8

Sets the recipient of the invitation.

Parameters

string $email: The recipient email.

Return value

\Drupal\apigee_edge_teams\Entity\TeamInvitationInterface The invitation.

Overrides TeamInvitationInterface::setRecipient

File

modules/apigee_edge_teams/src/Entity/TeamInvitation.php, line 199

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function setRecipient(string $email) : TeamInvitationInterface {
  $this
    ->set('recipient', $email);
  return $this;
}