function NullRouteMatch::getParameters
Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Routing/NullRouteMatch.php \Drupal\Core\Routing\NullRouteMatch::getParameters()
- 10 core/lib/Drupal/Core/Routing/NullRouteMatch.php \Drupal\Core\Routing\NullRouteMatch::getParameters()
- 11.x core/lib/Drupal/Core/Routing/NullRouteMatch.php \Drupal\Core\Routing\NullRouteMatch::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 RouteMatchInterface::getParameters
File
-
core/
lib/ Drupal/ Core/ Routing/ NullRouteMatch.php, line 36
Class
- NullRouteMatch
- Stub implementation of RouteMatchInterface for when there's no matched route.
Namespace
Drupal\Core\RoutingCode
public function getParameters() {
return new ParameterBag();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.