You are here

public function DomainNegotiatorInterface::setActiveDomain in Domain Access 8

Sets the active domain.

Parameters

\Drupal\domain\DomainInterface $domain: Sets the domain record as active for the duration of that request.

1 method overrides DomainNegotiatorInterface::setActiveDomain()
DomainNegotiator::setActiveDomain in domain/src/DomainNegotiator.php
Sets the active domain.

File

domain/src/DomainNegotiatorInterface.php, line 52

Class

DomainNegotiatorInterface
Handles the negotiation of the active domain record.

Namespace

Drupal\domain

Code

public function setActiveDomain(DomainInterface $domain);