You are here

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

The views data definition.

Overrides ViewTestBase::viewsData

File

lib/Drupal/views/Tests/Plugin/QueryTest.php, line 32
Definition of Drupal\views\Tests\Plugin\QueryTest.

Class

QueryTest
Tests query plugins.

Namespace

Drupal\views\Tests\Plugin

Code

protected function viewsData() {
  $data = parent::viewsData();
  $data['views_test_data']['table']['base']['query_id'] = 'query_test';
  return $data;
}