Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Url.php

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 876

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;
}
RSS feed
Powered by Drupal