You are here

public function Domain::getRawPath in Domain Access 8

Returns the raw path of the domain object, without the base url.

1 call to Domain::getRawPath()
Domain::buildUrl in domain/src/Entity/Domain.php
Builds a link from a known internal path.

File

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

Class

Domain
Defines the domain entity.

Namespace

Drupal\domain\Entity

Code

public function getRawPath() {
  return $this
    ->getScheme() . $this
    ->getHostname();
}