public PathProcessorAlias::processInbound($path, Request $request)
Processes the inbound path.
Parameters
string $path: The path to process, with a leading slash.
\Symfony\Component\HttpFoundation\Request $request: The HttpRequest object representing the current request.
Return value
string The processed path.
Overrides InboundPathProcessorInterface::processInbound
File
- core/lib/Drupal/Core/PathProcessor/PathProcessorAlias.php, line 34
Class
- PathProcessorAlias
- Processes the inbound path using path alias lookups.
Namespace
Drupal\Core\PathProcessor
Code
1 2 3 4 | public function processInbound( $path , Request $request ) { $path = $this ->aliasManager->getPathByAlias( $path ); return $path ; } |
Please login to continue.