function CustomBooleanTest::viewsData
Same name in other branches
- 8.9.x core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php \Drupal\Tests\views_ui\Functional\CustomBooleanTest::viewsData()
- 10 core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php \Drupal\Tests\views_ui\Functional\CustomBooleanTest::viewsData()
- 11.x 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\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.