You are here

public function CheeseburgerMenuService::__construct in Cheeseburger Menu 5.0.x

Constructs a new CheeseburgerMenuService object.

File

src/CheeseburgerMenuService.php, line 65

Class

CheeseburgerMenuService
Base service providing functions.

Namespace

Drupal\cheeseburger_menu

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, MenuLinkTreeInterface $menu_link_tree, MenuActiveTrailInterface $menu_active_trail, CurrentRouteMatch $current_route_match, LanguageManagerInterface $language_manager, ModuleHandlerInterface $module_handler) {
  $this->entityTypeManager = $entity_type_manager;
  $this->menuLinkTree = $menu_link_tree;
  $this->menuActiveTrail = $menu_active_trail;
  $this->currentRouteMatch = $current_route_match;
  $this->languageManager = $language_manager;
  $this->moduleHandler = $module_handler;
}