public function RouteProcessorManager::processOutbound
public RouteProcessorManager::processOutbound($route_name, Route $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL)
Processes the outbound route.
Parameters
string $route_name: The route name.
\Symfony\Component\Routing\Route $route: The outbound route to process.
array $parameters: An array of parameters to be passed to the route compiler. Passed by reference.
\Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata: (optional) Object to collect route processors' bubbleable metadata.
Return value
The processed path.
Overrides OutboundRouteProcessorInterface::processOutbound
File
- core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php, line 49
Class
- RouteProcessorManager
- Route processor manager.
Namespace
Drupal\Core\RouteProcessorCode
public function processOutbound($route_name, Route $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL) { $processors = $this->getOutbound(); foreach ($processors as $processor) { $processor->processOutbound($route_name, $route, $parameters, $bubbleable_metadata); } }
© 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!RouteProcessor!RouteProcessorManager.php/function/RouteProcessorManager::processOutbound/8.1.x