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\EntityCode
public function getEnvironment() {
return !empty($this->environment) ? $this->environment : 'default';
}