public function TeamMemberRoleStorageInterface::loadByDeveloper in Apigee Edge 8
Loads all team roles of a developer within all its teams.
WARNING: The fact whether the developer is actually member of the team (company) in Apigee Edge is not being verified here. The caller should perform this check if needed. Thanks for this approach we can minimize the API calls that are being sent to Apigee Edge.
Parameters
\Drupal\Core\Session\AccountInterface $account: User entity object of a developer.
Return value
\Drupal\apigee_edge_teams\Entity\TeamMemberRoleInterface[] Array of team member role objects.
1 method overrides TeamMemberRoleStorageInterface::loadByDeveloper()
- TeamMemberRoleStorage::loadByDeveloper in modules/
apigee_edge_teams/ src/ Entity/ Storage/ TeamMemberRoleStorage.php - Loads all team roles of a developer within all its teams.
File
- modules/
apigee_edge_teams/ src/ Entity/ Storage/ TeamMemberRoleStorageInterface.php, line 66
Class
- TeamMemberRoleStorageInterface
- Defines an interface for team member role entity storage classes.
Namespace
Drupal\apigee_edge_teams\Entity\StorageCode
public function loadByDeveloper(AccountInterface $account) : array;