You are here

public function RequestContext::setCompleteBaseUrl in Drupal 8

Same name and namespace in other branches
  1. 9 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
Updates the RequestContext information based on a HttpFoundation Request.

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;
}