public function TeamMembershipManager::addMembers in Apigee Edge 8
Same name in this branch
- 8 modules/apigee_edge_teams/src/TeamMembershipManager.php \Drupal\apigee_edge_teams\TeamMembershipManager::addMembers()
- 8 modules/apigee_edge_actions/src/TeamMembershipManager.php \Drupal\apigee_edge_actions\TeamMembershipManager::addMembers()
Adds members to a team.
Parameters
string $team: Name of a team.
array $developers: Array of developer email addresses.
Overrides TeamMembershipManagerInterface::addMembers
File
- modules/
apigee_edge_actions/ src/ TeamMembershipManager.php, line 136
Class
- TeamMembershipManager
- Decorates the apigee_edge_teams.team_membership_manager service.
Namespace
Drupal\apigee_edge_actionsCode
public function addMembers(string $team, array $developers) : void {
$this->inner
->addMembers($team, $developers);
$this
->dispatchEvent('apigee_edge_actions_entity_add_member:team', $team, $developers);
}