You are here

public function DomainAlias::getEnvironment in Domain Access 8

File

domain_alias/src/Entity/DomainAlias.php, line 102

Class

DomainAlias
Defines the domain alias entity.

Namespace

Drupal\domain_alias\Entity

Code

public function getEnvironment() {
  return !empty($this->environment) ? $this->environment : 'default';
}