RouteMatch::getParameterNames

protected RouteMatch::getParameterNames() Returns the names of all parameters for the currently matched route. Return value array Route parameter names as both the keys and values. File core/lib/Drupal/Core/Routing/RouteMatch.php, line 143 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code protected function getParameterNames() { $names = array(); if ($route = $this->getRouteObject()) { // Variables defined in path and ho

RouteMatch::getParameter

public RouteMatch::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. Return value

RouteMatch::createFromRequest

public static RouteMatch::createFromRequest(Request $request) Creates a RouteMatch from a request. Parameters Request $request: A request object. Return value \Drupal\Core\Routing\RouteMatchInterface A new RouteMatch object if there's a matched route for the request. A new NullRouteMatch object otherwise (e.g., on a 404 page or when invoked prior to routing). File core/lib/Drupal/Core/Routing/RouteMatch.php, line 78 Class RouteMatch Default object representing the results of routing. N

RouteMatch::$routeName

The route name. Type: string File core/lib/Drupal/Core/Routing/RouteMatch.php, line 20 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code protected $routeName;

RouteMatch::$route

The route. Type: \Symfony\Component\Routing\Route File core/lib/Drupal/Core/Routing/RouteMatch.php, line 27 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code protected $route;

RouteMatch::$rawParameters

A key|value store of raw parameters. Type: \Symfony\Component\HttpFoundation\ParameterBag File core/lib/Drupal/Core/Routing/RouteMatch.php, line 41 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code protected $rawParameters;

RouteMatch::$parameters

A key|value store of parameters. Type: \Symfony\Component\HttpFoundation\ParameterBag File core/lib/Drupal/Core/Routing/RouteMatch.php, line 34 Class RouteMatch Default object representing the results of routing. Namespace Drupal\Core\Routing Code protected $parameters;

RouteMatch

Default object representing the results of routing. Hierarchy class \Drupal\Core\Routing\RouteMatch implements RouteMatchInterface File core/lib/Drupal/Core/Routing/RouteMatch.php, line 13 Namespace Drupal\Core\Routing Members Name Modifiers Type Description RouteMatch::$parameters protected property A key|value store of parameters. RouteMatch::$rawParameters protected property A key|value store of raw parameters. RouteMatch::$route protected property The

RouteEnhancerInterface::applies

public RouteEnhancerInterface::applies(Route $route) Declares if the route enhancer applies to the given route. Parameters \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value bool TRUE if the check applies to the passed route, False otherwise. File core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php, line 22 Class RouteEnhancerInterface A route enhance service to determine route enhance rules. Namespace Drupal\Core\Routing\Enhancer C

RouteEnhancerInterface

A route enhance service to determine route enhance rules. Hierarchy interface \Symfony\Cmf\Component\Routing\Enhancer\RouteEnhancerInterfaceinterface \Drupal\Core\Routing\Enhancer\RouteEnhancerInterface File core/lib/Drupal/Core/Routing/Enhancer/RouteEnhancerInterface.php, line 11 Namespace Drupal\Core\Routing\Enhancer Members Name Modifiers Type Description RouteEnhancerInterface::applies public function Declares if the route enhancer applies to the given route. Rout