public function DomainAliasInterface::getDomain in Domain Access 8
Get the parent domain entity for an alias record.
Return value
\Drupal\domain\Entity\Domain The parent domain for the alias record or NULL if not set.
1 method overrides DomainAliasInterface::getDomain()
- DomainAlias::getDomain in domain_alias/
src/ Entity/ DomainAlias.php - Get the parent domain entity for an alias record.
File
- domain_alias/
src/ DomainAliasInterface.php, line 34
Class
- DomainAliasInterface
- Provides an interface defining a domain alias entity.
Namespace
Drupal\domain_aliasCode
public function getDomain();