W3cubDocs

/Drupal 8

public function 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.

See also

\Drupal\Core\Routing\RouteMatchInterface::getRawParameters()

File

core/lib/Drupal/Core/Routing/RouteMatchInterface.php, line 72

Class

RouteMatchInterface
Provides an interface for classes representing the result of routing.

Namespace

Drupal\Core\Routing

Code

public function getParameters();

© 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!RouteMatchInterface.php/function/RouteMatchInterface::getParameters/8.1.x