You are here

public function GeneratedUrl::setGeneratedUrl in Zircon Profile 8.0

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 44
Contains \Drupal\Core\GeneratedUrl.

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