public function TeamInvitationStorageInterface::loadByRecipient in Apigee Edge 8
Returns all team_invitation entities for the provided email and team id.
Parameters
string $email: The email address.
string|null $team_id: The team id.
Return value
\Drupal\apigee_edge_teams\Entity\TeamInvitationInterface[] An array of team_invitation entities for this email address.
1 method overrides TeamInvitationStorageInterface::loadByRecipient()
- TeamInvitationStorage::loadByRecipient in modules/
apigee_edge_teams/ src/ Entity/ Storage/ TeamInvitationStorage.php - Returns all team_invitation entities for the provided email and team id.
File
- modules/
apigee_edge_teams/ src/ Entity/ Storage/ TeamInvitationStorageInterface.php, line 41
Class
- TeamInvitationStorageInterface
- Defines an interface for team_invitation storage.
Namespace
Drupal\apigee_edge_teams\Entity\StorageCode
public function loadByRecipient(string $email, ?string $team_id = NULL) : array;