PageDisplayVariantSelectionEvent::$routeMatch
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::routeMatch
- 10 core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::routeMatch
- 11.x core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php \Drupal\Core\Render\PageDisplayVariantSelectionEvent::routeMatch
The current route match.
Type: \Drupal\Core\Routing\RouteMatchInterface
File
-
core/
lib/ Drupal/ Core/ Render/ PageDisplayVariantSelectionEvent.php, line 45
Class
- PageDisplayVariantSelectionEvent
- Event fired when rendering main content, to select a page display variant.
Namespace
Drupal\Core\RenderCode
protected $routeMatch;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.