UrlGenerator::processRoute

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 p

UrlGenerator::processPath

protected UrlGenerator::processPath($path, &$options = array(), BubbleableMetadata $bubbleable_metadata = NULL) Passes the path to a processor manager to allow alterations. File core/lib/Drupal/Core/Routing/UrlGenerator.php, line 374 Class UrlGenerator Generates URLs from route names and parameters. Namespace Drupal\Core\Routing Code protected function processPath($path, &$options = array(), BubbleableMetadata $bubbleable_metadata = NULL) { // Router-based paths may have a qu

UrlGenerator::isStrictRequirements

public UrlGenerator::isStrictRequirements() File core/lib/Drupal/Core/Routing/UrlGenerator.php, line 113 Class UrlGenerator Generates URLs from route names and parameters. Namespace Drupal\Core\Routing Code public function isStrictRequirements() { return TRUE; }

UrlGenerator::getRouteDebugMessage

public UrlGenerator::getRouteDebugMessage($name, array $parameters = array()) Convert a route identifier (name, content object etc) into a string usable for logging and other debug/error messages. Parameters mixed $name: array $parameters which should contain a content field containing: a RouteReferrersReadInterface object Return value string Overrides VersatileGeneratorInterface::getRouteDebugMessage File core/lib/Drupal/Core/Routing/UrlGenerator.php, line 442 Class UrlGenerator Generat

UrlGenerator::getRoute

protected UrlGenerator::getRoute($name) Find the route using the provided route name. Parameters string|\Symfony\Component\Routing\Route $name: The route name or a route object. Return value \Symfony\Component\Routing\Route The found route. Throws \Symfony\Component\Routing\Exception\RouteNotFoundException Thrown if there is no route with that name in this repository. See also \Drupal\Core\Routing\RouteProviderInterface File core/lib/Drupal/Core/Routing/UrlGenerator.php, line 421 Class

UrlGenerator::getPathFromRoute

public UrlGenerator::getPathFromRoute($name, $parameters = array()) Gets the internal path (system path) for a route. Parameters string|\Symfony\Component\Routing\Route $name: The route name or a route object. array $parameters: An array of parameters as passed to \Symfony\Component\Routing\Generator\UrlGeneratorInterface::generate(). Return value string The internal Drupal path corresponding to the route. Overrides UrlGeneratorInterface::getPathFromRoute File core/lib/Drupal/Core/Routing/Url

UrlGenerator::getInternalPathFromRoute

protected UrlGenerator::getInternalPathFromRoute($name, SymfonyRoute $route, $parameters = array(), $query_params = array()) Gets the path of a route. Parameters $name: The route name or other debug message. \Symfony\Component\Routing\Route $route: The route object. array $parameters: An array of parameters as passed to \Symfony\Component\Routing\Generator\UrlGeneratorInterface::generate(). array $query_params: An array of query string parameter, which will get any extra values from $parameter

UrlGenerator::getContext

public UrlGenerator::getContext() File core/lib/Drupal/Core/Routing/UrlGenerator.php, line 99 Class UrlGenerator Generates URLs from route names and parameters. Namespace Drupal\Core\Routing Code public function getContext() { return $this->context; }

UrlGenerator::generateFromRoute

public UrlGenerator::generateFromRoute($name, $parameters = array(), $options = array(), $collect_bubbleable_metadata = FALSE) Generates a URL or path for a specific route based on the given parameters. Parameters that reference placeholders in the route pattern will be substituted for them in the pattern. Extra params are added as query strings to the URL. @internal Should not be used in user code. Use \Drupal\Core\Url instead. Parameters string|\Symfony\Component\Routing\Route $name: The rou

UrlGenerator::generate

public UrlGenerator::generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH) File core/lib/Drupal/Core/Routing/UrlGenerator.php, line 267 Class UrlGenerator Generates URLs from route names and parameters. Namespace Drupal\Core\Routing Code public function generate($name, $parameters = array(), $referenceType = self::ABSOLUTE_PATH) { $options['absolute'] = is_bool($referenceType) ? $referenceType : $referenceType === self::ABSOLUTE_URL; return $this->generate