You are here

public function TeamInvitation::getExpiryTime in Apigee Edge 8

Returns the expiry time for an invitation.

Return value

int Timestamp for the invitation expiry date.

Overrides TeamInvitationInterface::getExpiryTime

1 call to TeamInvitation::getExpiryTime()
TeamInvitation::isExpired in modules/apigee_edge_teams/src/Entity/TeamInvitation.php
Returns TRUE if the invitation is expired.

File

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

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

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