You are here

public function TeamPermissionHandlerInterface::getDeveloperPermissionsByTeam in Apigee Edge 8

Returns team permissions of a developer within a team.

Parameters

\Drupal\apigee_edge_teams\Entity\TeamInterface $team: The team entity, the developer is not necessarily member of the team.

\Drupal\Core\Session\AccountInterface $account: The user entity.

Return value

array Array of team permissions names.

Throws

\Drupal\apigee_edge_teams\Exception\InvalidArgumentException

1 method overrides TeamPermissionHandlerInterface::getDeveloperPermissionsByTeam()
TeamPermissionHandler::getDeveloperPermissionsByTeam in modules/apigee_edge_teams/src/TeamPermissionHandler.php
Returns team permissions of a developer within a team.

File

modules/apigee_edge_teams/src/TeamPermissionHandlerInterface.php, line 56

Class

TeamPermissionHandlerInterface
Defines an interface to list available team permissions.

Namespace

Drupal\apigee_edge_teams

Code

public function getDeveloperPermissionsByTeam(TeamInterface $team, AccountInterface $account) : array;