function 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 914
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.