public function InboundPathProcessorInterface::processInbound in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php \Drupal\Core\PathProcessor\InboundPathProcessorInterface::processInbound()
- 9 core/lib/Drupal/Core/PathProcessor/InboundPathProcessorInterface.php \Drupal\Core\PathProcessor\InboundPathProcessorInterface::processInbound()
Processes the inbound path.
Implementations may make changes to the request object passed in but should avoid all other side effects. This method can be called to process requests other than the current request.
Parameters
string $path: The path to process, with a leading slash.
\Symfony\Component\HttpFoundation\Request $request: The HttpRequest object representing the request to process. Note, if this method is being called via the path_processor_manager service and is not part of routing, the current request object must be cloned before being passed in.
Return value
string The processed path.
6 methods override InboundPathProcessorInterface::processInbound()
- AliasPathProcessor::processInbound in core/
modules/ path_alias/ src/ PathProcessor/ AliasPathProcessor.php - Processes the inbound path.
- BrokenInboundPathProcessor::processInbound in core/
modules/ system/ tests/ modules/ update_script_test/ src/ PathProcessor/ BrokenInboundPathProcessor.php - Processes the inbound path.
- PathProcessor::processInbound in core/
modules/ system/ tests/ modules/ url_alter_test/ src/ PathProcessor.php - Processes the inbound path.
- PathProcessorFiles::processInbound in core/
modules/ system/ src/ PathProcessor/ PathProcessorFiles.php - Processes the inbound path.
- PathProcessorLanguage::processInbound in core/
modules/ language/ src/ HttpKernel/ PathProcessorLanguage.php - Processes the inbound path.
File
- core/
lib/ Drupal/ Core/ PathProcessor/ InboundPathProcessorInterface.php, line 30
Class
- InboundPathProcessorInterface
- Defines an interface for classes that process the inbound path.
Namespace
Drupal\Core\PathProcessorCode
public function processInbound($path, Request $request);