FilterBooleanOperatorDefaultTest.php
Same filename in this branch
Same filename in other branches
- 9 core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorDefaultTest.php
- 9 core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterBooleanOperatorDefaultTest.php
- 8.9.x core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorDefaultTest.php
- 8.9.x core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterBooleanOperatorDefaultTest.php
- 11.x core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorDefaultTest.php
- 11.x core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterBooleanOperatorDefaultTest.php
Namespace
Drupal\views_test_data\Plugin\views\filterFile
-
core/
modules/ views/ tests/ modules/ views_test_data/ src/ Plugin/ views/ filter/ FilterBooleanOperatorDefaultTest.php
View source
<?php
namespace Drupal\views_test_data\Plugin\views\filter;
use Drupal\views\Attribute\ViewsFilter;
use Drupal\views\Plugin\views\filter\BooleanOperator;
/**
* Filter to test queryOpBoolean() with default operator.
*
* @ingroup views_filter_handlers
*/
class FilterBooleanOperatorDefaultTest extends BooleanOperator {
/**
* {@inheritdoc}
*/
public function query() {
$this->ensureMyTable();
$field = "{$this->tableAlias}.{$this->realField}";
$this->queryOpBoolean($field);
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
FilterBooleanOperatorDefaultTest | Filter to test queryOpBoolean() with default operator. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.