You are here

public function DomainRouteCheck::__construct in Domain Access 8

Constructs the object.

Parameters

\Drupal\domain\DomainNegotiatorInterface $negotiator: The domain negotiation service.

File

domain/src/Access/DomainRouteCheck.php, line 44

Class

DomainRouteCheck
Determines access to routes based on domains.

Namespace

Drupal\domain\Access

Code

public function __construct(DomainNegotiatorInterface $negotiator) {
  $this->domainNegotiator = $negotiator;
}