function ViewKernelTestBase::viewsData
Returns the views data definition.
1 call to ViewKernelTestBase::viewsData()
- ViewKernelTestBase::setUpFixtures in core/
modules/ views/ src/ Tests/ ViewKernelTestBase.php - Sets up the configuration and schema of views and views_test_data modules.
File
-
core/
modules/ views/ src/ Tests/ ViewKernelTestBase.php, line 148
Class
- ViewKernelTestBase
- Defines a base class for Views unit testing.
Namespace
Drupal\views\TestsCode
protected function viewsData() {
return ViewTestData::viewsData();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.