function FilterBooleanOperatorTest::dataSet
Same name and namespace in other branches
- main core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorTest.php \Drupal\Tests\views\Kernel\Handler\FilterBooleanOperatorTest::dataSet()
Returns a very simple test dataset.
Overrides ViewsKernelTestBase::dataSet
File
-
core/
modules/ views/ tests/ src/ Kernel/ Handler/ FilterBooleanOperatorTest.php, line 40
Class
- FilterBooleanOperatorTest
- Tests the core Drupal\views\Plugin\views\filter\BooleanOperator handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
protected function dataSet() {
$dataset = parent::dataSet();
$dataset[] = [
'name' => 'Null',
'age' => 0,
'job' => 'Null',
'created' => 0,
'status' => NULL,
];
return $dataset;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.