function Url::unroutedUrlAssembler
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::unroutedUrlAssembler()
- 10 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::unroutedUrlAssembler()
- 11.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::unroutedUrlAssembler()
Gets the unrouted URL assembler for non-Drupal URLs.
Return value
\Drupal\Core\Utility\UnroutedUrlAssemblerInterface The unrouted URL assembler.
File
-
core/
lib/ Drupal/ Core/ Url.php, line 873
Class
- Url
- Defines an object that holds information about a URL.
Namespace
Drupal\CoreCode
protected function unroutedUrlAssembler() {
if (!$this->urlAssembler) {
$this->urlAssembler = \Drupal::service('unrouted_url_assembler');
}
return $this->urlAssembler;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.