You are here

public function DomainAliasStorageInterface::loadByEnvironment in Domain Access 8

Loads an array of domain alias record by environment lookup.

Parameters

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::loadByEnvironment()
DomainAliasStorage::loadByEnvironment in domain_alias/src/DomainAliasStorage.php
Loads an array of domain alias record by environment lookup.

File

domain_alias/src/DomainAliasStorageInterface.php, line 46

Class

DomainAliasStorageInterface
Supplies storage methods for common domain_alias requests.

Namespace

Drupal\domain_alias

Code

public function loadByEnvironment($environment);