You are here

public function TeamInvitation::isPending in Apigee Edge 8

Returns TRUE if the invitation is pending.

Return value

bool TRUE if pending. FALSE otherwise.

Overrides TeamInvitationInterface::isPending

File

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

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

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