You are here

public function TeamInvitation::getStatus in Apigee Edge 8

Returns the status of the invitation.

Return value

int The invitation status.

Overrides TeamInvitationInterface::getStatus

4 calls to TeamInvitation::getStatus()
TeamInvitation::isAccepted in modules/apigee_edge_teams/src/Entity/TeamInvitation.php
Returns TRUE if the invitation is accepted.
TeamInvitation::isDeclined in modules/apigee_edge_teams/src/Entity/TeamInvitation.php
Returns TRUE if the invitation is declined.
TeamInvitation::isExpired in modules/apigee_edge_teams/src/Entity/TeamInvitation.php
Returns TRUE if the invitation is expired.
TeamInvitation::isPending in modules/apigee_edge_teams/src/Entity/TeamInvitation.php
Returns TRUE if the invitation is pending.

File

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

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function getStatus() : int {
  return $this
    ->get('status')->value;
}