You are here

public function TaxonomyMenuHelper::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/taxonomy_menu/src/TaxonomyMenuHelper.php \Drupal\taxonomy_menu\TaxonomyMenuHelper::__construct()

File

modules/taxonomy_menu/src/TaxonomyMenuHelper.php, line 31
Contains Drupal\taxonomy_menu\Controller\TaxonomyMenu.

Class

TaxonomyMenuHelper
Class TaxonomyMenu.

Namespace

Drupal\taxonomy_menu

Code

public function __construct(EntityManagerInterface $entity_manager, MenuLinkManagerInterface $manager) {
  $this->menuStorage = $entity_manager
    ->getStorage('taxonomy_menu');
  $this->manager = $manager;
}