interface OutboundRouteProcessorInterface in Drupal 9
Same name and namespace in other branches
- 8 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
2 files declare their use of OutboundRouteProcessorInterface
- 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. | 3 |