You are here

public function TeamInvitationInterface::setTeamRoles in Apigee Edge 8

Sets the team roles of the invitation.

Parameters

\Drupal\apigee_edge_teams\Entity\TeamRoleInterface[] $team_roles: An array of team roles.

Return value

\Drupal\apigee_edge_teams\Entity\TeamInvitationInterface The invitation.

1 method overrides TeamInvitationInterface::setTeamRoles()
TeamInvitation::setTeamRoles in modules/apigee_edge_teams/src/Entity/TeamInvitation.php
Sets the team roles of the invitation.

File

modules/apigee_edge_teams/src/Entity/TeamInvitationInterface.php, line 106

Class

TeamInvitationInterface
Provides an interface for defining invitation entities.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function setTeamRoles(array $team_roles) : self;