You are here

public function TeamForm::__construct in Apigee Edge 8

TeamForm 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.

\Drupal\Core\Session\AccountProxyInterface $current_user: The current user.

\Drupal\Core\Logger\LoggerChannelInterface $logger: The logger service.

File

modules/apigee_edge_teams/src/Entity/Form/TeamForm.php, line 78

Class

TeamForm
General form handler for the team create/edit forms.

Namespace

Drupal\apigee_edge_teams\Entity\Form

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, TeamMembershipManagerInterface $team_membership_manager, AccountProxyInterface $current_user, LoggerChannelInterface $logger) {
  $this->entityTypeManager = $entity_type_manager;
  $this->teamMembershipManager = $team_membership_manager;
  $this->currentUser = $current_user;
  $this->logger = $logger;
}