You are here

public function PathProcessorDecode::processInbound in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php \Drupal\Core\PathProcessor\PathProcessorDecode::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/PathProcessorDecode.php, line 30
Contains \Drupal\Core\PathProcessor\PathProcessorDecode.

Class

PathProcessorDecode
Processes the inbound path by urldecoding it.

Namespace

Drupal\Core\PathProcessor

Code

public function processInbound($path, Request $request) {
  return urldecode($path);
}