You are here

public function CustomBooleanTest::dataSet in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views_ui/src/Tests/CustomBooleanTest.php \Drupal\views_ui\Tests\CustomBooleanTest::dataSet()

Returns a very simple test dataset.

Overrides ViewTestBase::dataSet

File

core/modules/views_ui/src/Tests/CustomBooleanTest.php, line 40
Contains \Drupal\views_ui\Tests\CustomBooleanTest.

Class

CustomBooleanTest
Tests the UI and functionality for the Custom boolean field handler options.

Namespace

Drupal\views_ui\Tests

Code

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