public function RemoveTeamMemberForm::__construct in Apigee Edge 8
RemoveTeamMemberForm constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager service.
\Drupal\apigee_edge_teams\TeamMembershipManagerInterface $team_membership_manager: The team membership manager service.
File
- modules/
apigee_edge_teams/ src/ Form/ RemoveTeamMemberForm.php, line 80
Class
- RemoveTeamMemberForm
- Remove team members from.
Namespace
Drupal\apigee_edge_teams\FormCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, TeamMembershipManagerInterface $team_membership_manager) {
$this->teamEntityType = $entity_type_manager
->getDefinition('team');
$this->userStorage = $entity_type_manager
->getStorage('user');
$this->teamMembershipManager = $team_membership_manager;
}