function ViewsKernelTestBase::dataSet

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::dataSet()

Returns a very simple test dataset.

1 method overrides ViewsKernelTestBase::dataSet()
LanguageTestBase::dataSet in core/modules/language/tests/src/Kernel/Views/LanguageTestBase.php
Returns a very simple test dataset.

File

core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php, line 149

Class

ViewsKernelTestBase
Defines a base class for Views kernel testing.

Namespace

Drupal\Tests\views\Kernel

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.