Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/GeneratedUrl.php \Drupal\Core\GeneratedUrl::getGeneratedUrl()
  2. 9 core/lib/Drupal/Core/GeneratedUrl.php \Drupal\Core\GeneratedUrl::getGeneratedUrl()

Gets the generated URL.

Return value

string

File

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

Class

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

Namespace

Drupal\Core

Code

public function getGeneratedUrl() {
  return $this->generatedUrl;
}