You are here

protected function DomainNegotiator::negotiateActiveDomain in Domain Access 8

Determine the active domain.

1 call to DomainNegotiator::negotiateActiveDomain()
DomainNegotiator::getActiveDomain in domain/src/DomainNegotiator.php
Gets the active domain.

File

domain/src/DomainNegotiator.php, line 146

Class

DomainNegotiator

Namespace

Drupal\domain

Code

protected function negotiateActiveDomain() {
  $httpHost = $this
    ->negotiateActiveHostname();
  $this
    ->setRequestDomain($httpHost);
  return $this->domain;
}