function ViewsKernelTestBase::viewsData

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

Returns the views data definition.

1 method overrides ViewsKernelTestBase::viewsData()
LanguageTestBase::viewsData in core/modules/language/tests/src/Kernel/Views/LanguageTestBase.php
Returns the views data definition.

File

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

Class

ViewsKernelTestBase
Defines a base class for Views kernel testing.

Namespace

Drupal\Tests\views\Kernel

Code

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

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