You are here

public function DomainAliasStorageInterface::loadByEnvironmentMatch in Domain Access 8

Loads a domain alias record by pattern lookup.

Parameters

\Drupal\domain\DomainInterface $domain: A domain entity.

string $environment: An environment string, e.g. 'default' or 'local'.

Return value

array An array of \Drupal\domain_alias\DomainAliasInterface objects.

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

File

domain_alias/src/DomainAliasStorageInterface.php, line 59

Class

DomainAliasStorageInterface
Supplies storage methods for common domain_alias requests.

Namespace

Drupal\domain_alias

Code

public function loadByEnvironmentMatch(DomainInterface $domain, $environment);