protected function NullGenerator::processRoute

protected NullGenerator::processRoute($name, Route $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.

Overrides UrlGenerator::processRoute

File

core/lib/Drupal/Core/Routing/NullGenerator.php, line 49

Class

NullGenerator
No-op implementation of a Url Generator, needed for backward compatibility.

Namespace

Drupal\Core\Routing

Code

protected function processRoute($name, Route $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL) {
}

© 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!Routing!NullGenerator.php/function/NullGenerator::processRoute/8.1.x