You are here

public function TeamInvitation::getTeam in Apigee Edge 8

Returns the team entity.

Return value

\Drupal\apigee_edge_teams\Entity\TeamInterface|null The team entity or null.

Overrides TeamInvitationInterface::getTeam

1 call to TeamInvitation::getTeam()
TeamInvitation::getCacheTags in modules/apigee_edge_teams/src/Entity/TeamInvitation.php
The cache tags associated with this object.

File

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

Class

TeamInvitation
Defines the team invitation entity.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function getTeam() : ?TeamInterface {
  return $this
    ->get('team')->entity;
}