You are here

public function TaxonomyIndexTid::query in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php \Drupal\taxonomy\Plugin\views\field\TaxonomyIndexTid::query()
  2. 9 core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php \Drupal\taxonomy\Plugin\views\field\TaxonomyIndexTid::query()

Add this term to the query.

Overrides ViewsPluginInterface::query

File

core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php, line 123

Class

TaxonomyIndexTid
Field handler to display all taxonomy terms of a node.

Namespace

Drupal\taxonomy\Plugin\views\field

Code

public function query() {
  $this
    ->addAdditionalFields();
}