You are here

public function RequestContext::setCompleteBaseUrl in Drupal 9

Same name and namespace in other branches
  1. 8 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 60

Class

RequestContext
Holds information about the current request.

Namespace

Drupal\Core\Routing

Code

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