You are here

public function TeamMembershipManager::removeMembers in Apigee Edge 8

Same name in this branch
  1. 8 modules/apigee_edge_teams/src/TeamMembershipManager.php \Drupal\apigee_edge_teams\TeamMembershipManager::removeMembers()
  2. 8 modules/apigee_edge_actions/src/TeamMembershipManager.php \Drupal\apigee_edge_actions\TeamMembershipManager::removeMembers()

Removes members from a team.

Parameters

string $team: Name of a team.

array $developers: Array of developer email addresses.

Overrides TeamMembershipManagerInterface::removeMembers

File

modules/apigee_edge_actions/src/TeamMembershipManager.php, line 145

Class

TeamMembershipManager
Decorates the apigee_edge_teams.team_membership_manager service.

Namespace

Drupal\apigee_edge_actions

Code

public function removeMembers(string $team, array $developers) : void {
  $this->inner
    ->removeMembers($team, $developers);
  $this
    ->dispatchEvent('apigee_edge_actions_entity_remove_member:team', $team, $developers);
}