public function CustomBooleanTest::dataSet in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php \Drupal\Tests\views_ui\Functional\CustomBooleanTest::dataSet()
- 10 core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php \Drupal\Tests\views_ui\Functional\CustomBooleanTest::dataSet()
Returns a very simple test dataset.
Overrides ViewTestBase::dataSet
File
- core/
modules/ views_ui/ tests/ src/ Functional/ CustomBooleanTest.php, line 40
Class
- CustomBooleanTest
- Tests the UI and functionality for the Custom boolean field handler options.
Namespace
Drupal\Tests\views_ui\FunctionalCode
public function dataSet() {
$data = parent::dataSet();
$data[0]['age'] = 0;
$data[3]['age'] = 0;
return $data;
}