function 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;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
