RouteMatchInterface::getRawParameter

public RouteMatchInterface::getRawParameter($parameter_name) Returns the raw value of a named route parameter. Parameters string $parameter_name: The parameter name. Return value string|null The raw (non-upcast) parameter value. NULL if the route doesn't define the parameter or if the raw parameter value can't be determined from the request. See also \Drupal\Core\Routing\RouteMatchInterface::getParameter() File core/lib/Drupal/Core/Routing/RouteMatchInterface.php, line 87 Class RouteMatc

RouteMatchInterface::getParameters

public RouteMatchInterface::getParameters() Returns the bag of all processed route parameters. Raw URL parameters are processed by the parameter conversion system, which does operations such as converting entity ID parameters to fully-loaded entities. For example, the path node/12345 would have a raw node ID parameter value of 12345, while the processed parameter value would be the corresponding loaded node object. Return value \Symfony\Component\HttpFoundation\ParameterBag The parameter bag.

RouteMatchInterface::getParameter

public RouteMatchInterface::getParameter($parameter_name) Returns the processed value of a named route parameter. Raw URL parameters are processed by the parameter conversion system, which does operations such as converting entity ID parameters to fully-loaded entities. For example, the path node/12345 would have a raw node ID parameter value of 12345, while the processed parameter value would be the corresponding loaded node object. Parameters string $parameter_name: The parameter name. Retur

RouteMatchInterface

Provides an interface for classes representing the result of routing. Routing is the process of selecting the best matching candidate from a collection of routes for an incoming request. The relevant properties of a request include the path as well as a list of raw parameter values derived from the URL. If an appropriate route is found, raw parameter values will be upcast automatically if possible. The route match object contains useful information about the selected route as well as the raw an

RouteMatch::__construct

public RouteMatch::__construct($route_name, Route $route, array $parameters = array(), array $raw_parameters = array()) Constructs a RouteMatch object. Parameters string $route_name: The name of the route. \Symfony\Component\Routing\Route $route: The route. array $parameters: The parameters array. array $raw_parameters: The raw $parameters array. File core/lib/Drupal/Core/Routing/RouteMatch.php, line 55 Class RouteMatch Default object representing the results of routing. Namespace Drup

RouteMatch::getRouteObject

public RouteMatch::getRouteObject() Returns the route object. Return value \Symfony\Component\Routing\Route|null The route object. NULL if no route is matched. Overrides RouteMatchInterface::getRouteObject File core/lib/Drupal/Core/Routing/RouteMatch.php, line 105 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code public function getRouteObject() { return $this->route; }

RouteMatch::getRouteName

public RouteMatch::getRouteName() Returns the route name. Return value string|null The route name. NULL if no route is matched. Overrides RouteMatchInterface::getRouteName File core/lib/Drupal/Core/Routing/RouteMatch.php, line 98 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code public function getRouteName() { return $this->routeName; }

RouteMatch::getRawParameters

public RouteMatch::getRawParameters() Returns the bag of all raw route parameters. Return value \Symfony\Component\HttpFoundation\ParameterBag The parameter bag. Overrides RouteMatchInterface::getRawParameters See also \Drupal\Core\Routing\RouteMatchInterface::getParameters() File core/lib/Drupal/Core/Routing/RouteMatch.php, line 133 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code public function getRawParameters() { return $t

RouteMatch::getRawParameter

public RouteMatch::getRawParameter($parameter_name) Returns the raw value of a named route parameter. Parameters string $parameter_name: The parameter name. Return value string|null The raw (non-upcast) parameter value. NULL if the route doesn't define the parameter or if the raw parameter value can't be determined from the request. Overrides RouteMatchInterface::getRawParameter See also \Drupal\Core\Routing\RouteMatchInterface::getParameter() File core/lib/Drupal/Core/Routing/RouteMatch.php

RouteMatch::getParameters

public RouteMatch::getParameters() Returns the bag of all processed route parameters. Raw URL parameters are processed by the parameter conversion system, which does operations such as converting entity ID parameters to fully-loaded entities. For example, the path node/12345 would have a raw node ID parameter value of 12345, while the processed parameter value would be the corresponding loaded node object. Return value \Symfony\Component\HttpFoundation\ParameterBag The parameter bag. Overrides