You are here

public function CustomBooleanTest::dataSet in Drupal 9

Same name and namespace in other branches
  1. 8 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\Functional

Code

public function dataSet() {
  $data = parent::dataSet();
  $data[0]['age'] = 0;
  $data[3]['age'] = 0;
  return $data;
}