protected function Url::unroutedUrlAssembler
protected Url::unroutedUrlAssembler()
Gets the unrouted URL assembler for non-Drupal URLs.
Return value
\Drupal\Core\Utility\UnroutedUrlAssemblerInterface The unrouted URL assembler.
File
- core/lib/Drupal/Core/Url.php, line 838
Class
- Url
- Defines an object that holds information about a URL.
Namespace
Drupal\CoreCode
protected function unroutedUrlAssembler() { if (!$this->urlAssembler) { $this->urlAssembler = \Drupal::service('unrouted_url_assembler'); } return $this->urlAssembler; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Url.php/function/Url::unroutedUrlAssembler/8.1.x