You are here

public function Domain::getPath in Domain Access 8

Gets the path for a domain.

Return value

string A URL string for the base path to the domain. (e.g. http://example.com/)

Overrides DomainInterface::getPath

1 call to Domain::getPath()
Domain::getLink in domain/src/Entity/Domain.php
Returns a URL object for a domain.

File

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

Class

Domain
Defines the domain entity.

Namespace

Drupal\domain\Entity

Code

public function getPath() {
  if (!isset($this->path)) {
    $this
      ->setPath();
  }
  return $this->path;
}