You are here

protected function FieldTest::viewsData in Views (for Drupal 7) 8.3

Overrides Drupal\views\Tests\ViewTestBase::viewsData().

Overrides ViewTestBase::viewsData

File

lib/Drupal/views/Tests/Handler/FieldTest.php, line 39
Definition of Drupal\views\Tests\Handler\FieldTest.

Class

FieldTest
Tests the generic field handler.

Namespace

Drupal\views\Tests\Handler

Code

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