You are here

public function DomainNegotiatorInterface::setRequestDomain in Domain Access 8

Determines the active domain request.

The negotiator is passed an httpHost value, which is checked against domain records for a match.

Parameters

string $httpHost: A string representing the hostname of the request (e.g. example.com).

bool $reset: Indicates whether to reset the internal cache.

1 method overrides DomainNegotiatorInterface::setRequestDomain()
DomainNegotiator::setRequestDomain in domain/src/DomainNegotiator.php
Determines the active domain request.

File

domain/src/DomainNegotiatorInterface.php, line 44

Class

DomainNegotiatorInterface
Handles the negotiation of the active domain record.

Namespace

Drupal\domain

Code

public function setRequestDomain($httpHost, $reset = FALSE);