You are here

public function DomainStorageDecorator::createHostname in Devel 8.3

Same name and namespace in other branches
  1. 8.2 webprofiler/src/Entity/Decorators/Config/DomainStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\DomainStorageDecorator::createHostname()
  2. 4.x webprofiler/src/Entity/Decorators/Config/DomainStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\DomainStorageDecorator::createHostname()

Gets the hostname of the active request.

Return value

string The hostname string of the current request.

Overrides DomainStorageInterface::createHostname

File

webprofiler/src/Entity/Decorators/Config/DomainStorageDecorator.php, line 72

Class

DomainStorageDecorator
Class DomainStorageDecorator.

Namespace

Drupal\webprofiler\Entity\Decorators\Config

Code

public function createHostname() {
  return $this
    ->getOriginalObject()
    ->createHostname();
}