You are here

public function TeamInvitation::setStatus in Apigee Edge 8

Sets the status of the invitation.

Parameters

int $status: The status.

Return value

\Drupal\apigee_edge_teams\Entity\TeamInvitationInterface The invitation.

Overrides TeamInvitationInterface::setStatus

File

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

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function setStatus(int $status) : TeamInvitationInterface {
  $this
    ->set('status', $status);
  return $this;
}