You are here

public function TeamInvitation::isDeclined in Apigee Edge 8

Returns TRUE if the invitation is declined.

Return value

bool TRUE if declined. FALSE otherwise.

Overrides TeamInvitationInterface::isDeclined

File

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

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

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