You are here

public function TaxonomyMenuTrailsBreadcrumbBuilder::__construct in Taxonomy Menu Trails 8

File

src/TaxonomyMenuTrailsBreadcrumbBuilder.php, line 60

Class

TaxonomyMenuTrailsBreadcrumbBuilder

Namespace

Drupal\taxonomy_menu_trails

Code

public function __construct(ConfigFactoryInterface $config_factory, MenuLinkManagerInterface $menu_link_manager, EntityManagerInterface $entityManager, MenuActiveTrailInterface $menu_active_trail) {
  $this->configFactory = $config_factory;
  $this->menuLinkManager = $menu_link_manager;
  $this->entityManager = $entityManager;
  $this->termStorage = $entityManager
    ->getStorage('taxonomy_term');
  $this->menuActiveTrail = $menu_active_trail;
}