function PathProcessorAlias::processInbound

Overrides InboundPathProcessorInterface::processInbound

File

core/lib/Drupal/Core/PathProcessor/PathProcessorAlias.php, line 46

Class

PathProcessorAlias
Processes the inbound path using path alias lookups.

Namespace

Drupal\Core\PathProcessor

Code

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.