function AliasPathProcessor::processInbound
Same name in other branches
- 9 core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php \Drupal\path_alias\PathProcessor\AliasPathProcessor::processInbound()
- 10 core/modules/path_alias/src/PathProcessor/AliasPathProcessor.php \Drupal\path_alias\PathProcessor\AliasPathProcessor::processInbound()
Overrides InboundPathProcessorInterface::processInbound
File
-
core/
modules/ path_alias/ src/ PathProcessor/ AliasPathProcessor.php, line 36
Class
- AliasPathProcessor
- Processes the inbound path using path alias lookups.
Namespace
Drupal\path_alias\PathProcessorCode
public function processInbound($path, Request $request) {
$path = $this->aliasManager
->getPathByAlias($path);
return $path;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.