You are here

public function RouteProcessorManager::processOutbound in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php \Drupal\Core\RouteProcessor\RouteProcessorManager::processOutbound()

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 54
Contains \Drupal\Core\RouteProcessor\RouteProcessorManager.

Class

RouteProcessorManager
Route processor manager.

Namespace

Drupal\Core\RouteProcessor

Code

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);
  }
}