public function TaxonomyEntityIndexTidDepth::__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.
\Drupal\taxonomy\TermStorageInterface $term_storage: The term storage.
\Drupal\Core\Session\AccountInterface $current_user: The current user.
Overrides TaxonomyIndexTid::__construct
File
- src/
Plugin/ views/ filter/ TaxonomyEntityIndexTidDepth.php, line 56
Class
- TaxonomyEntityIndexTidDepth
- Filter handler for taxonomy terms with depth.
Namespace
Drupal\taxonomy_entity_index\Plugin\views\filterCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, Connection $database, VocabularyStorageInterface $vocabulary_storage, TermStorageInterface $term_storage) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $vocabulary_storage, $term_storage);
$this->database = $database;
}