You are here

public function RequestContext::setCompleteBaseUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 68
Contains \Drupal\Core\Routing\RequestContext.

Class

RequestContext
Holds information about the current request.

Namespace

Drupal\Core\Routing

Code

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