You are here

protected function FieldWebTest::viewsData in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Tests/Handler/FieldWebTest.php \Drupal\views\Tests\Handler\FieldWebTest::viewsData()

Returns the views data definition.

Overrides ViewTestBase::viewsData

File

core/modules/views/src/Tests/Handler/FieldWebTest.php, line 58
Contains \Drupal\views\Tests\Handler\FieldWebTest.

Class

FieldWebTest
Tests fields from within a UI.

Namespace

Drupal\views\Tests\Handler

Code

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