public function NullPathProcessorManager::processInbound

public NullPathProcessorManager::processInbound($path, Request $request)

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/NullPathProcessorManager.php, line 18

Class

NullPathProcessorManager
Provides a null implementation of the path processor manager.

Namespace

Drupal\Core\PathProcessor

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!PathProcessor!NullPathProcessorManager.php/function/NullPathProcessorManager::processInbound/8.1.x