You are here

public function PathProcessorManager::processInbound in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php \Drupal\Core\PathProcessor\PathProcessorManager::processInbound()

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/PathProcessorManager.php, line 72
Contains \Drupal\Core\PathProcessor\PathProcessorManager.

Class

PathProcessorManager
Path processor manager.

Namespace

Drupal\Core\PathProcessor

Code

public function processInbound($path, Request $request) {
  $processors = $this
    ->getInbound();
  foreach ($processors as $processor) {
    $path = $processor
      ->processInbound($path, $request);
  }
  return $path;
}