Implements Drupal\Core\PathProcessor\OutboundPathProcessorInterface::processOutbound().
Overrides OutboundPathProcessorInterface::processOutbound
public function processOutbound($path, &$options = array(), Request $request = NULL) {
$langcode = isset($options['language']) ? $options['language']->langcode : NULL;
$path = $this->aliasManager
->getPathAlias($path, $langcode);
return $path;
}