function FieldBooleanTest::viewsData
Same name and namespace in other branches
- 9 core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php \Drupal\Tests\views\Kernel\Handler\FieldBooleanTest::viewsData()
- 10 core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php \Drupal\Tests\views\Kernel\Handler\FieldBooleanTest::viewsData()
- 11.x core/modules/views/tests/src/Kernel/Handler/FieldBooleanTest.php \Drupal\Tests\views\Kernel\Handler\FieldBooleanTest::viewsData()
Overrides ViewsKernelTestBase::viewsData
File
-
core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldBooleanTest.php, line 30
Class
- FieldBooleanTest
- Tests the core <a href="/api/drupal/core%21modules%21views%21src%21Plugin%21views%21field%21Boolean.php/class/Boolean/8.9.x" title="A handler to provide proper displays for booleans." class="local">Drupal\views\Plugin\views\field\Boolean</a> handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
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.