interface StackedRouteMatchInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php \Drupal\Core\Routing\StackedRouteMatchInterface
Defines an interface for a stack of route matches.
This could be for example used on exception pages.
Hierarchy
- interface \Drupal\Core\Routing\RouteMatchInterface
- interface \Drupal\Core\Routing\StackedRouteMatchInterface
Expanded class hierarchy of StackedRouteMatchInterface
All classes that implement StackedRouteMatchInterface
2 files declare their use of StackedRouteMatchInterface
- LanguageNegotiationUserAdmin.php in core/
modules/ user/ src/ Plugin/ LanguageNegotiation/ LanguageNegotiationUserAdmin.php - Contains \Drupal\user\Plugin\LanguageNegotiation\LanguageNegotiationUserAdmin.
- ThemeManager.php in core/
lib/ Drupal/ Core/ Theme/ ThemeManager.php - Contains \Drupal\Core\Theme\ThemeManager.
File
- core/
lib/ Drupal/ Core/ Routing/ StackedRouteMatchInterface.php, line 17 - Contains \Drupal\Core\Routing\StackedRouteMatchInterface.
Namespace
Drupal\Core\RoutingView source
interface StackedRouteMatchInterface extends RouteMatchInterface {
/**
* Gets the current route match.
*
* @return \Drupal\Core\Routing\RouteMatchInterface
*/
public function getCurrentRouteMatch();
/**
* Gets the master route match..
*
* @return \Drupal\Core\Routing\RouteMatchInterface
*/
public function getMasterRouteMatch();
/**
* Returns the parent route match of the current.
*
* @return \Drupal\Core\Routing\RouteMatchInterface\NULL
* The parent route match or NULL, if it the master route match.
*/
public function getParentRouteMatch();
/**
* Returns a route match from a given request, if possible.
*
* @param \Symfony\Component\HttpFoundation\Request
* The request.
*
* @return \Drupal\Core\Routing\RouteMatchInterface|NULL
* THe matching route match, or NULL if there is no matching one.
*/
public function getRouteMatchFromRequest(Request $request);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RouteMatchInterface:: |
public | function | Returns the processed value of a named route parameter. | 3 |
RouteMatchInterface:: |
public | function | Returns the bag of all processed route parameters. | 3 |
RouteMatchInterface:: |
public | function | Returns the raw value of a named route parameter. | 3 |
RouteMatchInterface:: |
public | function | Returns the bag of all raw route parameters. | 3 |
RouteMatchInterface:: |
public | function | Returns the route name. | 3 |
RouteMatchInterface:: |
public | function | Returns the route object. | 3 |
StackedRouteMatchInterface:: |
public | function | Gets the current route match. | 1 |
StackedRouteMatchInterface:: |
public | function | Gets the master route match.. | 1 |
StackedRouteMatchInterface:: |
public | function | Returns the parent route match of the current. | 1 |
StackedRouteMatchInterface:: |
public | function | Returns a route match from a given request, if possible. | 1 |