public function CustomBooleanTest::viewsData in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views_ui/src/Tests/CustomBooleanTest.php \Drupal\views_ui\Tests\CustomBooleanTest::viewsData()
\Drupal\views\Tests\ViewTestBase::viewsData().
Overrides ViewTestBase::viewsData
File
- core/
modules/ views_ui/ src/ Tests/ CustomBooleanTest.php, line 31 - Contains \Drupal\views_ui\Tests\CustomBooleanTest.
Class
- CustomBooleanTest
- Tests the UI and functionality for the Custom boolean field handler options.
Namespace
Drupal\views_ui\TestsCode
public function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['age']['field']['id'] = 'boolean';
return $data;
}