You are here

public function TeamMembersFormBase::__construct in Apigee Edge 8

TeamMembersFormBase constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

1 call to TeamMembersFormBase::__construct()
AddTeamMembersForm::__construct in modules/apigee_edge_teams/src/Form/AddTeamMembersForm.php
AddTeamMemberForms constructor.
1 method overrides TeamMembersFormBase::__construct()
AddTeamMembersForm::__construct in modules/apigee_edge_teams/src/Form/AddTeamMembersForm.php
AddTeamMemberForms constructor.

File

modules/apigee_edge_teams/src/Form/TeamMembersFormBase.php, line 60

Class

TeamMembersFormBase
Base team members form.

Namespace

Drupal\apigee_edge_teams\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->teamRoleStorage = $entity_type_manager
    ->getStorage('team_role');
  $this->teamMemberRoleStorage = $entity_type_manager
    ->getStorage('team_member_role');
}