protected function QueryTest::viewsData in Drupal 9
Same name in this branch
- 9 core/modules/views_ui/tests/src/Functional/QueryTest.php \Drupal\Tests\views_ui\Functional\QueryTest::viewsData()
- 9 core/modules/views/tests/src/Kernel/Plugin/QueryTest.php \Drupal\Tests\views\Kernel\Plugin\QueryTest::viewsData()
Same name and namespace in other branches
- 8 core/modules/views_ui/tests/src/Functional/QueryTest.php \Drupal\Tests\views_ui\Functional\QueryTest::viewsData()
Returns the views data definition.
Overrides ViewTestBase::viewsData
File
- core/
modules/ views_ui/ tests/ src/ Functional/ QueryTest.php, line 30
Class
- QueryTest
- Tests query plugins.
Namespace
Drupal\Tests\views_ui\FunctionalCode
protected function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['table']['base']['query_id'] = 'query_test';
return $data;
}