function CustomBooleanTest::viewsData
Returns the views data definition.
Overrides ViewTestBase::viewsData
File
-
core/
modules/ views_ui/ tests/ src/ Functional/ CustomBooleanTest.php, line 35
Class
- CustomBooleanTest
- Tests the UI and functionality for the Custom boolean field handler options.
Namespace
Drupal\Tests\views_ui\FunctionalCode
public function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['age']['field']['id'] = 'boolean';
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.