public function StackedRouteMatchInterface::getCurrentRouteMatch

public StackedRouteMatchInterface::getCurrentRouteMatch()

Gets the current route match.

Return value

\Drupal\Core\Routing\RouteMatchInterface

File

core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php, line 19

Class

StackedRouteMatchInterface
Defines an interface for a stack of route matches.

Namespace

Drupal\Core\Routing

Code

public function getCurrentRouteMatch();

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