function GeneratedUrl::setGeneratedUrl
Same name in other branches
- 9 core/lib/Drupal/Core/GeneratedUrl.php \Drupal\Core\GeneratedUrl::setGeneratedUrl()
- 8.9.x core/lib/Drupal/Core/GeneratedUrl.php \Drupal\Core\GeneratedUrl::setGeneratedUrl()
- 11.x 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\CoreCode
public function setGeneratedUrl($generated_url) {
$this->generatedUrl = $generated_url;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.