You are here

public function Url::setUnroutedUrlAssembler in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Url.php \Drupal\Core\Url::setUnroutedUrlAssembler()

Sets the unrouted URL assembler.

Parameters

\Drupal\Core\Utility\UnroutedUrlAssemblerInterface: The unrouted URL assembler.

Return value

$this

File

core/lib/Drupal/Core/Url.php, line 881
Contains \Drupal\Core\Url.

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;
}