function Url::setUnroutedUrlAssembler
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::setUnroutedUrlAssembler()
- 10 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::setUnroutedUrlAssembler()
- 11.x core/lib/Drupal/Core/Url.php \Drupal\Core\Url::setUnroutedUrlAssembler()
Sets the unrouted URL assembler.
Parameters
\Drupal\Core\Utility\UnroutedUrlAssemblerInterface $url_assembler: The unrouted URL assembler.
Return value
$this
File
-
core/
lib/ Drupal/ Core/ Url.php, line 902
Class
- Url
- Defines an object that holds information about a URL.
Namespace
Drupal\CoreCode
public function setUnroutedUrlAssembler(UnroutedUrlAssemblerInterface $url_assembler) {
$this->urlAssembler = $url_assembler;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.