public PageDisplayVariantSelectionEvent::__construct($plugin_id, RouteMatchInterface $route_match)
Constructs the page display variant plugin selection event.
Parameters
string $plugin_id: The ID of the page display variant plugin to use by default.
\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match, for context.
File
core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php, line 62
Class
PageDisplayVariantSelectionEvent Event fired when rendering main