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\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);
  }
}
doc_Drupal
2016-10-29 09:39:14
Comments
Leave a Comment

Please login to continue.