You are here

public function TaxonomyMenuMenuLink::__construct in Zircon Profile 8.0

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

Constructs a new TaxonomyMenuMenuLink.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager

\Drupal\views\ViewExecutableFactory $view_executable_factory: The view executable factory

Overrides PluginBase::__construct

File

modules/taxonomy_menu/src/Plugin/Menu/TaxonomyMenuMenuLink.php, line 58
Contains \Drupal\taxonomy_menu\Plugin\Menu\TaxonomyMenuMenuLink.

Class

TaxonomyMenuMenuLink
Defines menu links provided by taxonomy menu.

Namespace

Drupal\taxonomy_menu\Plugin\Menu

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityManagerInterface $entity_manager) {
  $this->configuration = $configuration;
  $this->pluginId = $plugin_id;
  $this->pluginDefinition = $plugin_definition;
  $this->entityManager = $entity_manager;
}