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

Breadcrumb

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

function RouteMatch::getRouteObject

Overrides RouteMatchInterface::getRouteObject

1 call to RouteMatch::getRouteObject()
RouteMatch::getParameterNames in core/lib/Drupal/Core/Routing/RouteMatch.php
Returns the names of all parameters for the currently matched route.

File

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

Class

RouteMatch
Default object representing the results of routing.

Namespace

Drupal\Core\Routing

Code

public function getRouteObject() {
    return $this->route;
}
RSS feed
Powered by Drupal