You are here

public function Domain301RedirectManagerInterface::checkDomain in Domain 301 Redirect 8

Checks if a domain actually points to this site.

Parameters

string $domain: The domain to be checked.

Return value

bool Returns TRUE if the domain passes the check. FALSE otherwise.

1 method overrides Domain301RedirectManagerInterface::checkDomain()
Domain301RedirectManager::checkDomain in src/Domain301RedirectManager.php
Checks if a domain actually points to this site.

File

src/Domain301RedirectManagerInterface.php, line 19

Class

Domain301RedirectManagerInterface
Interface for Domain301RedirectManager.

Namespace

Drupal\domain_301_redirect

Code

public function checkDomain($domain);