function ViewTestBase::dataSet

Returns a very simple test dataset.

1 call to ViewTestBase::dataSet()
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 153

Class

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

Namespace

Drupal\views\Tests

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.