interface StackedRouteMatchInterface

Defines an interface for a stack of route matches.

This could be for example used on exception pages.

Hierarchy

File

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

Namespace

Drupal\Core\Routing

Members

Name Modifiers Type Description
RouteMatchInterface::getParameter public function Returns the processed value of a named route parameter.
RouteMatchInterface::getParameters public function Returns the bag of all processed route parameters.
RouteMatchInterface::getRawParameter public function Returns the raw value of a named route parameter.
RouteMatchInterface::getRawParameters public function Returns the bag of all raw route parameters.
RouteMatchInterface::getRouteName public function Returns the route name.
RouteMatchInterface::getRouteObject public function Returns the route object.
StackedRouteMatchInterface::getCurrentRouteMatch public function Gets the current route match.
StackedRouteMatchInterface::getMasterRouteMatch public function Gets the master route match..
StackedRouteMatchInterface::getParentRouteMatch public function Returns the parent route match of the current.
StackedRouteMatchInterface::getRouteMatchFromRequest public function Returns a route match from a given request, if possible.

© 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/interface/StackedRouteMatchInterface/8.1.x