You are here

public function GeneratedUrl::setGeneratedUrl in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/GeneratedUrl.php \Drupal\Core\GeneratedUrl::setGeneratedUrl()

Sets the generated URL.

Parameters

string $generated_url: The generated URL.

Return value

$this

File

core/lib/Drupal/Core/GeneratedUrl.php, line 39

Class

GeneratedUrl
Used to return generated URLs, along with associated bubbleable metadata.

Namespace

Drupal\Core

Code

public function setGeneratedUrl($generated_url) {
  $this->generatedUrl = $generated_url;
  return $this;
}