You are here

public function ManageTeamMembersAccess::__construct in Apigee Edge 8

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

File

modules/apigee_edge_teams/src/Access/ManageTeamMembersAccess.php, line 61

Class

ManageTeamMembersAccess
Check access on manage team members routes.

Namespace

Drupal\apigee_edge_teams\Access

Code

public function __construct(TeamMembershipManagerInterface $team_membership_manager, TeamPermissionHandlerInterface $team_permission_handler) {
  $this->teamMembershipManager = $team_membership_manager;
  $this->teamPermissionHandler = $team_permission_handler;
}