You are here

public function DomainNegotiatorInterface::isRegisteredDomain in Domain Access 8

Checks that a URL's hostname is registered as a valid domain or alias.

Parameters

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

Return value

bool TRUE if a URL's hostname is registered as a valid domain or alias, or FALSE.

1 method overrides DomainNegotiatorInterface::isRegisteredDomain()
DomainNegotiator::isRegisteredDomain in domain/src/DomainNegotiator.php
Checks that a URL's hostname is registered as a valid domain or alias.

File

domain/src/DomainNegotiatorInterface.php, line 114

Class

DomainNegotiatorInterface
Handles the negotiation of the active domain record.

Namespace

Drupal\domain

Code

public function isRegisteredDomain($hostname);