You are here

public function TaxonomyEntityIndexTidDepth::init in Taxonomy Entity Index 8

Overrides \Drupal\views\Plugin\views\HandlerBase::init().

Provide some extra help to get the operator/value easier to use.

This likely has to be overridden by filters which are more complex than simple operator/value.

Overrides TaxonomyIndexTid::init

File

src/Plugin/views/filter/TaxonomyEntityIndexTidDepth.php, line 77

Class

TaxonomyEntityIndexTidDepth
Filter handler for taxonomy terms with depth.

Namespace

Drupal\taxonomy_entity_index\Plugin\views\filter

Code

public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) {
  parent::init($view, $display, $options);
  $this->baseTableInfo = \Drupal::service('views.views_data')
    ->get($this->table);
}