You are here

public function Url::setUnroutedUrlAssembler in Drupal 9

Same name and namespace in other branches
  1. 8 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 900

Class

Url
Defines an object that holds information about a URL.

Namespace

Drupal\Core

Code

public function setUnroutedUrlAssembler(UnroutedUrlAssemblerInterface $url_assembler) {
  $this->urlAssembler = $url_assembler;
  return $this;
}