function RequestContext::setCompleteBaseUrl

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/RequestContext.php \Drupal\Core\Routing\RequestContext::setCompleteBaseUrl()
  2. 10 core/lib/Drupal/Core/Routing/RequestContext.php \Drupal\Core\Routing\RequestContext::setCompleteBaseUrl()
  3. 11.x core/lib/Drupal/Core/Routing/RequestContext.php \Drupal\Core\Routing\RequestContext::setCompleteBaseUrl()

Sets the complete base URL for the Request context.

Parameters

string $complete_base_url: The complete base URL.

1 call to RequestContext::setCompleteBaseUrl()
RequestContext::fromRequest in core/lib/Drupal/Core/Routing/RequestContext.php

File

core/lib/Drupal/Core/Routing/RequestContext.php, line 63

Class

RequestContext
Holds information about the current request.

Namespace

Drupal\Core\Routing

Code

public function setCompleteBaseUrl($complete_base_url) {
    $this->completeBaseUrl = $complete_base_url;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.