public function DomainNegotiatorInterface::negotiateActiveHostname in Domain Access 8
Sets the hostname of the active request.
This method is an internal method for use by the public getActiveDomain() call. It is responsible for determining the active hostname of the request and then passing that data to the negotiator.
Return value
string The hostname, without the "www" if applicable.
1 method overrides DomainNegotiatorInterface::negotiateActiveHostname()
- DomainNegotiator::negotiateActiveHostname in domain/
src/ DomainNegotiator.php - Sets the hostname of the active request.
File
- domain/
src/ DomainNegotiatorInterface.php, line 88
Class
- DomainNegotiatorInterface
- Handles the negotiation of the active domain record.
Namespace
Drupal\domainCode
public function negotiateActiveHostname();