You are here

protected function FieldWebTest::viewsData in Drupal 9

Same name and namespace in other branches
  1. 8 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 60

Class

FieldWebTest
Tests fields from within a UI.

Namespace

Drupal\Tests\views\Functional\Handler

Code

protected function viewsData() {
  $data = parent::viewsData();
  $data['views_test_data']['job']['field']['id'] = 'test_field';
  return $data;
}