interface OutboundRouteProcessorInterface in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/RouteProcessor/OutboundRouteProcessorInterface.php \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface
Defines an interface for classes that process the outbound route.
Hierarchy
- interface \Drupal\Core\RouteProcessor\OutboundRouteProcessorInterface
Expanded class hierarchy of OutboundRouteProcessorInterface
All classes that implement OutboundRouteProcessorInterface
5 files declare their use of OutboundRouteProcessorInterface
- BlockEntityOffCanvasFormRouteProcessorBC.php in core/
modules/ settings_tray/ src/ RouteProcessor/ BlockEntityOffCanvasFormRouteProcessorBC.php - RestResourceGetRouteProcessorBC.php in core/
modules/ rest/ src/ RouteProcessor/ RestResourceGetRouteProcessorBC.php - RouteProcessor.php in core/
modules/ path/ src/ Routing/ RouteProcessor.php - RouteProcessorCsrf.php in core/
lib/ Drupal/ Core/ Access/ RouteProcessorCsrf.php - UrlGenerator.php in core/
lib/ Drupal/ Core/ Routing/ UrlGenerator.php
File
- core/
lib/ Drupal/ Core/ RouteProcessor/ OutboundRouteProcessorInterface.php, line 11
Namespace
Drupal\Core\RouteProcessorView source
interface OutboundRouteProcessorInterface {
/**
* Processes the outbound route.
*
* @param string $route_name
* The route name.
* @param \Symfony\Component\Routing\Route $route
* The outbound route to process.
* @param array $parameters
* An array of parameters to be passed to the route compiler. Passed by
* reference.
* @param \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata
* (optional) Object to collect route processors' bubbleable metadata.
*
* @return
* The processed path.
*/
public function processOutbound($route_name, Route $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
OutboundRouteProcessorInterface:: |
public | function | Processes the outbound route. | 5 |