public function StackedRouteMatchInterface::getParentRouteMatch

public StackedRouteMatchInterface::getParentRouteMatch()

Returns the parent route match of the current.

Return value

\Drupal\Core\Routing\RouteMatchInterface|NULL The parent route match or NULL, if it the master route match.

File

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

Class

StackedRouteMatchInterface
Defines an interface for a stack of route matches.

Namespace

Drupal\Core\Routing

Code

public function getParentRouteMatch();

© 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::getParentRouteMatch/8.1.x