Provides a way to build external or non Drupal local domain URLs.
It takes into account configured safe HTTP protocols.
Hierarchy
- class \Drupal\Core\Utility\UnroutedUrlAssembler implements UnroutedUrlAssemblerInterface
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. |
Please login to continue.