You are here

protected function QueryTest::viewsData in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/views_ui/src/Tests/QueryTest.php \Drupal\views_ui\Tests\QueryTest::viewsData()
  2. 8 core/modules/views/src/Tests/Plugin/QueryTest.php \Drupal\views\Tests\Plugin\QueryTest::viewsData()
Same name and namespace in other branches
  1. 8.0 core/modules/views_ui/src/Tests/QueryTest.php \Drupal\views_ui\Tests\QueryTest::viewsData()

Returns the views data definition.

Overrides ViewTestBase::viewsData

File

core/modules/views_ui/src/Tests/QueryTest.php, line 30
Contains \Drupal\views_ui\Tests\QueryTest.

Class

QueryTest
Tests query plugins.

Namespace

Drupal\views_ui\Tests

Code

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