function Bundle::query

Same name and namespace in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/filter/Bundle.php \Drupal\views\Plugin\views\filter\Bundle::query()
  2. 10 core/modules/views/src/Plugin/views/filter/Bundle.php \Drupal\views\Plugin\views\filter\Bundle::query()
  3. 11.x core/modules/views/src/Plugin/views/filter/Bundle.php \Drupal\views\Plugin\views\filter\Bundle::query()

Overrides InOperator::query

File

core/modules/views/src/Plugin/views/filter/Bundle.php, line 116

Class

Bundle
Filter class which allows filtering by entity bundles.

Namespace

Drupal\views\Plugin\views\filter

Code

public function query() {
    // Make sure that the entity base table is in the query.
    $this->ensureMyTable();
    parent::query();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.