You are here

function FieldCustomTest::viewsData in Views (for Drupal 7) 8.3

The views data definition.

Overrides ViewTestBase::viewsData

File

lib/Drupal/views/Tests/Handler/FieldCustomTest.php, line 29
Definition of Drupal\views\Tests\Handler\FieldCustomTest.

Class

FieldCustomTest
Tests the core Drupal\views\Plugin\views\field\Custom handler.

Namespace

Drupal\views\Tests\Handler

Code

function viewsData() {
  $data = parent::viewsData();
  $data['views_test_data']['name']['field']['id'] = 'custom';
  return $data;
}