You are here

public function TeamAppAccessHandler::__construct in Apigee Edge 8

TeamAppAccessHandler constructor.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.

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

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

\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.

Overrides EntityAccessControlHandler::__construct

File

modules/apigee_edge_teams/src/Entity/TeamAppAccessHandler.php, line 73

Class

TeamAppAccessHandler
Access handler for Team App entities.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function __construct(EntityTypeInterface $entity_type, EntityTypeManagerInterface $entity_type_manager, TeamPermissionHandlerInterface $team_permission_handler, RouteMatchInterface $route_match) {
  parent::__construct($entity_type);
  $this->entityTypeManager = $entity_type_manager;
  $this->routeMatch = $route_match;
  $this->teamPermissionHandler = $team_permission_handler;
}