You are here

public function CustomBooleanTest::viewsData in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php \Drupal\Tests\views_ui\Functional\CustomBooleanTest::viewsData()

\Drupal\views\Tests\ViewTestBase::viewsData().

Overrides ViewTestBase::viewsData

File

core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php, line 31

Class

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

Namespace

Drupal\Tests\views_ui\Functional

Code

public function viewsData() {
  $data = parent::viewsData();
  $data['views_test_data']['age']['field']['id'] = 'boolean';
  return $data;
}