function FieldWebTest::viewsData

Returns the views data definition.

Overrides ViewTestBase::viewsData

File

core/modules/views/tests/src/Functional/Handler/FieldWebTest.php, line 64

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.