You are here

protected function ViewTestBase::viewsData in Drupal 8

Same name in this branch
  1. 8 core/modules/views/src/Tests/ViewTestBase.php \Drupal\views\Tests\ViewTestBase::viewsData()
  2. 8 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::viewsData()

Returns the views data definition.

1 call to ViewTestBase::viewsData()
ViewTestBase::enableViewsTestModule in core/modules/views/src/Tests/ViewTestBase.php
Sets up the views_test_data.module.

File

core/modules/views/src/Tests/ViewTestBase.php, line 146

Class

ViewTestBase
Defines a base class for Views testing in the full web test environment.

Namespace

Drupal\views\Tests

Code

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