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/src/Tests/Plugin/QueryTest.php \Drupal\views\Tests\Plugin\QueryTest::viewsData()

Returns the views data definition.

Overrides ViewKernelTestBase::viewsData

File

core/modules/views/src/Tests/Plugin/QueryTest.php, line 28
Contains \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;
}