public function Bundle::query

Overrides \Drupal\views\Plugin\views\filter\InOperator::query().

Overrides InOperator::query

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/filter/Bundle.php, line 71
Definition of \Drupal\views\Plugin\views\filter\Bundle.

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();
}