You are here

protected function ViewKernelTestBase::viewsData in Drupal 8

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\Tests

Code

protected function viewsData() {
  return ViewTestData::viewsData();
}