public function CustomBooleanTest::viewsData

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

Overrides ViewTestBase::viewsData

File

drupal/core/modules/views_ui/lib/Drupal/views_ui/Tests/CustomBooleanTest.php, line 35
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 viewsData() {
  $data = parent::viewsData();
  $data['views_test_data']['age']['field']['id'] = 'boolean';
  return $data;
}