class CurrentRouteMatch

Default object for current_route_match service.

Hierarchy

File

core/lib/Drupal/Core/Routing/CurrentRouteMatch.php, line 11

Namespace

Drupal\Core\Routing

Members

Name Modifiers Type Description
CurrentRouteMatch::$requestStack protected property The related request stack.
CurrentRouteMatch::$routeMatches protected property Internal cache of RouteMatch objects.
CurrentRouteMatch::getCurrentRouteMatch public function Returns the route match for the current request. Overrides StackedRouteMatchInterface::getCurrentRouteMatch
CurrentRouteMatch::getMasterRouteMatch public function Gets the master route match.. Overrides StackedRouteMatchInterface::getMasterRouteMatch
CurrentRouteMatch::getParameter public function Returns the processed value of a named route parameter. Overrides RouteMatchInterface::getParameter
CurrentRouteMatch::getParameters public function Returns the bag of all processed route parameters. Overrides RouteMatchInterface::getParameters
CurrentRouteMatch::getParentRouteMatch public function Returns the parent route match of the current. Overrides StackedRouteMatchInterface::getParentRouteMatch
CurrentRouteMatch::getRawParameter public function Returns the raw value of a named route parameter. Overrides RouteMatchInterface::getRawParameter
CurrentRouteMatch::getRawParameters public function Returns the bag of all raw route parameters. Overrides RouteMatchInterface::getRawParameters
CurrentRouteMatch::getRouteMatch protected function Returns the route match for a passed in request.
CurrentRouteMatch::getRouteMatchFromRequest public function Returns a route match from a given request, if possible. Overrides StackedRouteMatchInterface::getRouteMatchFromRequest
CurrentRouteMatch::getRouteName public function Returns the route name. Overrides RouteMatchInterface::getRouteName
CurrentRouteMatch::getRouteObject public function Returns the route object. Overrides RouteMatchInterface::getRouteObject
CurrentRouteMatch::resetRouteMatch public function Resets the route match static cache. Overrides ResettableStackedRouteMatchInterface::resetRouteMatch
CurrentRouteMatch::__construct public function Constructs a CurrentRouteMatch object.

© 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!CurrentRouteMatch.php/class/CurrentRouteMatch/8.1.x