class UnroutedUrlAssembler

Provides a way to build external or non Drupal local domain URLs.

It takes into account configured safe HTTP protocols.

Hierarchy

File

core/lib/Drupal/Core/Utility/UnroutedUrlAssembler.php, line 15

Namespace

Drupal\Core\Utility

Members

Name Modifiers Type Description
UnroutedUrlAssembler::$pathProcessor protected property The outbound path processor.
UnroutedUrlAssembler::$requestStack protected property A request stack object.
UnroutedUrlAssembler::addOptionDefaults protected function Merges in default defaults
UnroutedUrlAssembler::assemble public function This is a helper function that calls buildExternalUrl() or buildLocalUrl() based on a check of whether the path is a valid external URL. Overrides UnroutedUrlAssemblerInterface::assemble
UnroutedUrlAssembler::buildExternalUrl protected function
UnroutedUrlAssembler::buildLocalUrl protected function
UnroutedUrlAssembler::__construct public function Constructs a new unroutedUrlAssembler object.

© 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!Utility!UnroutedUrlAssembler.php/class/UnroutedUrlAssembler/8.1.x