You are here

public function TeamAppListByTeamAccess::__construct in Apigee Edge 8

TeamAppListByTeamAccess constructor.

Parameters

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

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

File

modules/apigee_edge_teams/src/Access/TeamAppListByTeamAccess.php, line 60

Class

TeamAppListByTeamAccess
Check access on Team app list by team route.

Namespace

Drupal\apigee_edge_teams\Access

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, TeamPermissionHandlerInterface $team_permission_handler) {
  $this->entityTypeManager = $entity_type_manager;
  $this->teamPermissionHandler = $team_permission_handler;
}