public function DomainStorageDecorator::getDefaultScheme in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Entity/Decorators/Config/DomainStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\DomainStorageDecorator::getDefaultScheme()
- 4.x webprofiler/src/Entity/Decorators/Config/DomainStorageDecorator.php \Drupal\webprofiler\Entity\Decorators\Config\DomainStorageDecorator::getDefaultScheme()
Returns the default http/https scheme for the site.
This function helps us account for variable schemes across environments.
Return value
string A string representation of s scheme (http|https).
Overrides DomainStorageInterface::getDefaultScheme
File
- webprofiler/
src/ Entity/ Decorators/ Config/ DomainStorageDecorator.php, line 86
Class
- DomainStorageDecorator
- Class DomainStorageDecorator
Namespace
Drupal\webprofiler\Entity\Decorators\ConfigCode
public function getDefaultScheme() {
return $this
->getOriginalObject()
->getDefaultScheme();
}