public function ShsTaxonomyIndexTidDepth::__construct in Simple hierarchical select 8
Same name and namespace in other branches
- 2.0.x src/Plugin/views/filter/ShsTaxonomyIndexTidDepth.php \Drupal\shs\Plugin\views\filter\ShsTaxonomyIndexTidDepth::__construct()
Constructor for the class.
Parameters
array $configuration: The configuration array
string $plugin_id: The Plugin id.
mixed $plugin_definition: The Plugin definition.
\Drupal\taxonomy\VocabularyStorageInterface $vocabulary_storage:
\Drupal\taxonomy\TermStorageInterface $term_storage:
\Drupal\Core\Database\Connection $database: A JSON response containing autocomplete suggestions.
Overrides TaxonomyIndexTid::__construct
File
- src/
Plugin/ views/ filter/ ShsTaxonomyIndexTidDepth.php, line 44
Class
- ShsTaxonomyIndexTidDepth
- Filter handler for taxonomy terms with depth.
Namespace
Drupal\shs\Plugin\views\filterCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, VocabularyStorageInterface $vocabulary_storage, TermStorageInterface $term_storage, Connection $database) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $vocabulary_storage, $term_storage);
$this->database = $database;
}