You are here

public function TaxonomyMenuMenuLink::__construct in Zircon Profile 8

Same name in this branch
  1. 8 modules/taxonomy_menu/src/Plugin/Derivative/TaxonomyMenuMenuLink.php \Drupal\taxonomy_menu\Plugin\Derivative\TaxonomyMenuMenuLink::__construct()
  2. 8 modules/taxonomy_menu/src/Plugin/Menu/TaxonomyMenuMenuLink.php \Drupal\taxonomy_menu\Plugin\Menu\TaxonomyMenuMenuLink::__construct()
Same name and namespace in other branches
  1. 8.0 modules/taxonomy_menu/src/Plugin/Derivative/TaxonomyMenuMenuLink.php \Drupal\taxonomy_menu\Plugin\Derivative\TaxonomyMenuMenuLink::__construct()

Sets up the storage handler.

Parameters

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

File

modules/taxonomy_menu/src/Plugin/Derivative/TaxonomyMenuMenuLink.php, line 35
Contains \Drupal\taxonomy_menu\Plugin\Derivative\TaxonomyMenuMenuLink.

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;
}