You are here

public function TaxonomyEntityIndexTid::__construct in Taxonomy Entity Index 8

Constructs a TaxonomyIndexTid object.

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\taxonomy\VocabularyStorageInterface $vocabulary_storage: The vocabulary storage.

Overrides TaxonomyIndexTid::__construct

File

src/Plugin/views/field/TaxonomyEntityIndexTid.php, line 52

Class

TaxonomyEntityIndexTid
Field handler to display all taxonomy terms of an entity.

Namespace

Drupal\taxonomy_entity_index\Plugin\views\field

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, VocabularyStorageInterface $vocabulary_storage, Connection $database) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $vocabulary_storage);
  $this->vocabularyStorage = $vocabulary_storage;
  $this->database = $database;
}