You are here

public function DomainInterface::getUrl in Domain Access 8

Gets the url for a domain.

Return value

string A URL string for the current request on the requested domain. If the current request is /user the return would be http://example.com/user or http://one.example.com, depending on the current domain context.

1 method overrides DomainInterface::getUrl()
Domain::getUrl in domain/src/Entity/Domain.php
Gets the url for a domain.

File

domain/src/DomainInterface.php, line 83

Class

DomainInterface
Provides an interface defining a domain entity.

Namespace

Drupal\domain

Code

public function getUrl();