Ejemplo n.º 1
0
 /**
  * Passes the route to the processor manager for altering before compilation.
  *
  * @param string $name
  *   The route name.
  * @param \Symfony\Component\Routing\Route $route
  *   The route object to process.
  * @param array $parameters
  *   An array of parameters to be passed to the route compiler.
  * @param \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata
  *   (optional) Object to collect route processors' bubbleable metadata.
  */
 protected function processRoute($name, SymfonyRoute $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL)
 {
     $this->routeProcessor->processOutbound($name, $route, $parameters, $bubbleable_metadata);
 }
 /**
  * Passes the route to the processor manager for altering before compilation.
  *
  * @param \Symfony\Component\Routing\Route $route
  *   The route object to process.
  * @param array $parameters
  *   An array of parameters to be passed to the route compiler.
  * @param string $name
  *   The route name.
  */
 protected function processRoute($name, SymfonyRoute $route, array &$parameters)
 {
     $this->routeProcessor->processOutbound($name, $route, $parameters);
 }