You are here

public function RouteMatch::getParameters in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/RouteMatch.php \Drupal\Core\Routing\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 RouteMatchInterface::getParameters

See also

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

File

core/lib/Drupal/Core/Routing/RouteMatch.php, line 124
Contains \Drupal\Core\Routing\RouteMatch.

Class

RouteMatch
Default object representing the results of routing.

Namespace

Drupal\Core\Routing

Code

public function getParameters() {
  return $this->parameters;
}