You are here

public function TeamInvitation::isAccepted in Apigee Edge 8

Returns TRUE if the invitation is accepted.

Return value

bool TRUE if accepted. FALSE otherwise.

Overrides TeamInvitationInterface::isAccepted

File

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

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function isAccepted() : bool {
  return $this
    ->getStatus() === TeamInvitationInterface::STATUS_ACCEPTED;
}