public function MenuBlockKernelViewSubscriber::__construct in Menu Block 8
Constructs a new MenuBlockKernelViewSubscriber.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $current_route_match: The current route match.
File
- src/
EventSubscriber/ MenuBlockKernelViewSubscriber.php, line 31
Class
- MenuBlockKernelViewSubscriber
- Alters the block library modal.
Namespace
Drupal\menu_block\EventSubscriberCode
public function __construct(RouteMatchInterface $current_route_match) {
$this->currentRouteMatch = $current_route_match;
}