Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. RouteMatch.php

function RouteMatch::getParameter

Overrides RouteMatchInterface::getParameter

File

core/lib/Drupal/Core/Routing/RouteMatch.php, line 112

Class

RouteMatch
Default object representing the results of routing.

Namespace

Drupal\Core\Routing

Code

public function getParameter($parameter_name) {
    return $this->parameters
        ->get($parameter_name);
}
RSS feed
Powered by Drupal