function RequestContext::getCompleteBaseUrl
Same name in other branches
- 9 core/lib/Drupal/Core/Routing/RequestContext.php \Drupal\Core\Routing\RequestContext::getCompleteBaseUrl()
- 8.9.x core/lib/Drupal/Core/Routing/RequestContext.php \Drupal\Core\Routing\RequestContext::getCompleteBaseUrl()
- 10 core/lib/Drupal/Core/Routing/RequestContext.php \Drupal\Core\Routing\RequestContext::getCompleteBaseUrl()
Gets the scheme, host and base path.
For example, in an installation in a subdirectory "d8", it should be "https://example.com/d8".
File
-
core/
lib/ Drupal/ Core/ Routing/ RequestContext.php, line 50
Class
- RequestContext
- Holds information about the current request.
Namespace
Drupal\Core\RoutingCode
public function getCompleteBaseUrl() {
return $this->completeBaseUrl;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.