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