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/tests/src/Kernel/Plugin/QueryTest.php \Drupal\Tests\views\Kernel\Plugin\QueryTest::viewsData()
Returns the views data definition.
Overrides ViewsKernelTestBase::viewsData
File
- core/
modules/ views/ tests/ src/ Kernel/ Plugin/ QueryTest.php, line 23
Class
- QueryTest
- Tests query plugins.
Namespace
Drupal\Tests\views\Kernel\PluginCode
protected function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['table']['base']['query_id'] = 'query_test';
return $data;
}