protected function QueryTest::viewsData in Zircon Profile 8
Same name in this branch
- 8 core/modules/views_ui/src/Tests/QueryTest.php \Drupal\views_ui\Tests\QueryTest::viewsData()
- 8 core/modules/views/src/Tests/Plugin/QueryTest.php \Drupal\views\Tests\Plugin\QueryTest::viewsData()
Same name and namespace in other branches
- 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\PluginCode
protected function viewsData() {
$data = parent::viewsData();
$data['views_test_data']['table']['base']['query_id'] = 'query_test';
return $data;
}