You are here

public function Domain::getHostname in Domain Access 8

Gets the hostname of the domain.

Return value

string The domain hostname.

Overrides DomainInterface::getHostname

6 calls to Domain::getHostname()
Domain::getPort in domain/src/Entity/Domain.php
Find the port used for the domain.
Domain::getRawPath in domain/src/Entity/Domain.php
Returns the raw path of the domain object, without the base url.
Domain::preSave in domain/src/Entity/Domain.php
Acts on an entity before the presave hook is invoked.
Domain::setCanonical in domain/src/Entity/Domain.php
Sets the canonical (registered) hostname for the domain.
Domain::setPath in domain/src/Entity/Domain.php
Sets the base path to this domain.

... See full list

File

domain/src/Entity/Domain.php, line 498

Class

Domain
Defines the domain entity.

Namespace

Drupal\domain\Entity

Code

public function getHostname() {
  return $this->hostname;
}