Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / views / tests / modules / views_test_data / src / Plugin / views / filter / FilterBooleanOperatorDefaultTest.php
1 <?php
2
3 namespace Drupal\views_test_data\Plugin\views\filter;
4
5 use Drupal\views\Plugin\views\filter\BooleanOperator;
6
7 /**
8  * Filter to test queryOpBoolean() with default operator.
9  *
10  * @ingroup views_filter_handlers
11  *
12  * @ViewsFilter("boolean_default")
13  */
14 class FilterBooleanOperatorDefaultTest extends BooleanOperator {
15
16   /**
17    * {@inheritdoc}
18    */
19   public function query() {
20     $this->ensureMyTable();
21     $field = "$this->tableAlias.$this->realField";
22     $this->queryOpBoolean($field);
23   }
24
25 }