protected UrlGenerator::processRoute($name, SymfonyRoute $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL)
Passes the route to the processor manager for altering before compilation.
Parameters
string $name: The route name.
\Symfony\Component\Routing\Route $route: The route object to process.
array $parameters: An array of parameters to be passed to the route compiler.
\Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata: (optional) Object to collect route processors' bubbleable metadata.
File
- core/lib/Drupal/Core/Routing/UrlGenerator.php, line 403
Class
- UrlGenerator
- Generates URLs from route names and parameters.
Namespace
Drupal\Core\Routing
Code
protected function processRoute($name, SymfonyRoute $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL) { $this->routeProcessor->processOutbound($name, $route, $parameters, $bubbleable_metadata); }
Please login to continue.