protected function FieldWebTest::viewsData in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/tests/src/Functional/Handler/FieldWebTest.php \Drupal\Tests\views\Functional\Handler\FieldWebTest::viewsData()
Returns the views data definition.
Overrides ViewTestBase::viewsData
File
- core/
modules/ views/ tests/ src/ Functional/ Handler/ FieldWebTest.php, line 59
Class
- FieldWebTest
- Tests fields from within a UI.
Namespace
Drupal\Tests\views\Functional\HandlerCode
protected function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['job']['field']['id'] = 'test_field';
return $data;
}