You are here

public function DomainAliasStorageInterface::loadByPattern in Domain Access 8

Loads a domain alias record by pattern lookup.

Parameters

string $pattern: A pattern string, in the format *.example.com.

Return value

\Drupal\domain_alias\DomainAliasInterface|null The domain alias record given a pattern string.

1 method overrides DomainAliasStorageInterface::loadByPattern()
DomainAliasStorage::loadByPattern in domain_alias/src/DomainAliasStorage.php
Loads a domain alias record by pattern lookup.

File

domain_alias/src/DomainAliasStorageInterface.php, line 35

Class

DomainAliasStorageInterface
Supplies storage methods for common domain_alias requests.

Namespace

Drupal\domain_alias

Code

public function loadByPattern($pattern);