You are here

public function CurrentDomainContext::__construct in Domain Access 8

Constructs a CurrentDomainContext object.

Parameters

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

File

domain/src/ContextProvider/CurrentDomainContext.php, line 33

Class

CurrentDomainContext
Provides a context handler for the block system.

Namespace

Drupal\domain\ContextProvider

Code

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