You are here

public function TeamMemberApiProductAccessHandler::__construct in Apigee Edge 8

TeamApiProductAccessHandler constructor.

Parameters

\Drupal\apigee_edge_teams\TeamMembershipManagerInterface $team_membership_manager: The team membership manager service.

\Drupal\apigee_edge_teams\TeamPermissionHandlerInterface $team_permission_handler: The team permission handler.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.

\Drupal\Core\Session\AccountInterface $current_user: The currently logged-in user.

File

modules/apigee_edge_teams/src/TeamMemberApiProductAccessHandler.php, line 85

Class

TeamMemberApiProductAccessHandler
Default team member API product access handler implementation.

Namespace

Drupal\apigee_edge_teams

Code

public function __construct(TeamMembershipManagerInterface $team_membership_manager, TeamPermissionHandlerInterface $team_permission_handler, ModuleHandlerInterface $module_handler, AccountInterface $current_user) {
  $this->teamMembershipManager = $team_membership_manager;
  $this->teamPermissionHandler = $team_permission_handler;
  $this->moduleHandler = $module_handler;
  $this->currentUser = $current_user;
}