You are here

public function DomainLangHandlerInterface::getDomainFromUrl in Domain Lang 8

Return domain object from URL.

Return value

\Drupal\domain\DomainInterface Loaded domain object.

Throws

\Drupal\domain_lang\Exception\DomainLangDomainNotFoundException In case if domain not found.

1 method overrides DomainLangHandlerInterface::getDomainFromUrl()
DomainLangHandler::getDomainFromUrl in src/DomainLangHandler.php
Return domain object from URL.

File

src/DomainLangHandlerInterface.php, line 34

Class

DomainLangHandlerInterface
Interface for Domain lang service.

Namespace

Drupal\domain_lang

Code

public function getDomainFromUrl();