Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
RequestContext.php
function RequestContext::getBaseUrl
Gets the base URL.
File
vendor/
symfony/
routing/
RequestContext.php
, line 94
Class
RequestContext
Holds information about the current request.
Namespace
Symfony\Component\Routing
Code
public
function
getBaseUrl
() : string {
return
$this
->
baseUrl
; }
RSS feed