You are here

public function TeamInvitationAccessControlHandler::__construct in Apigee Edge 8

TeamInvitationAccessControlHandler constructor.

Parameters

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

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

Overrides EntityAccessControlHandler::__construct

File

modules/apigee_edge_teams/src/Entity/TeamInvitationAccessControlHandler.php, line 52

Class

TeamInvitationAccessControlHandler
Access controller handler for team_invitation.

Namespace

Drupal\apigee_edge_teams\Entity

Code

public function __construct(EntityTypeInterface $entity_type, TeamPermissionHandlerInterface $team_permission_handler) {
  parent::__construct($entity_type);
  $this->teamPermissionHandler = $team_permission_handler;
}