You are here

public function TaxonomyMenuMenuLink::__construct in Taxonomy menu 8.3

Same name in this branch
  1. 8.3 src/Plugin/Derivative/TaxonomyMenuMenuLink.php \Drupal\taxonomy_menu\Plugin\Derivative\TaxonomyMenuMenuLink::__construct()
  2. 8.3 src/Plugin/Menu/TaxonomyMenuMenuLink.php \Drupal\taxonomy_menu\Plugin\Menu\TaxonomyMenuMenuLink::__construct()

Sets up the storage handler.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $taxonomy_menu_storage: The taxonomy menu storage.

File

src/Plugin/Derivative/TaxonomyMenuMenuLink.php, line 30

Class

TaxonomyMenuMenuLink
Provides menu links for Taxonomy Menus.

Namespace

Drupal\taxonomy_menu\Plugin\Derivative

Code

public function __construct(EntityStorageInterface $taxonomy_menu_storage) {
  $this->taxonomyMenuStorage = $taxonomy_menu_storage;
}