You are here

public function MenuLinks::__construct in Event 8

File

src/Plugin/Derivative/MenuLinks.php, line 54

Class

MenuLinks
Provides a default implementation for menu link plugins.

Namespace

Drupal\event\Plugin\Derivative

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, RouteProviderInterface $route_provider, ThemeHandlerInterface $theme_handler) {
  $this->entityTypeManager = $entity_type_manager;
  $this->moduleHandler = $module_handler;
  $this->routeProvider = $route_provider;
  $this->themeHandler = $theme_handler;
}