W3cubDocs

/Drupal 8

public function GeneratedUrl::setGeneratedUrl

public GeneratedUrl::setGeneratedUrl($generated_url)

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!GeneratedUrl.php/function/GeneratedUrl::setGeneratedUrl/8.1.x