You are here

protected function ViewsKernelTestBase::viewsData in Drupal 10

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

Returns the views data definition.

1 call to ViewsKernelTestBase::viewsData()
RelationshipJoinTestBase::viewsData in core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php
Overrides \Drupal\views\Tests\ViewTestBase::viewsData().
3 methods override ViewsKernelTestBase::viewsData()
CacheTest::viewsData in core/modules/views/tests/src/Kernel/Plugin/CacheTest.php
Returns the views data definition.
QueryTest::viewsData in core/modules/views/tests/src/Kernel/Plugin/QueryTest.php
Returns the views data definition.
RelationshipJoinTestBase::viewsData in core/modules/views/tests/src/Kernel/Plugin/RelationshipJoinTestBase.php
Overrides \Drupal\views\Tests\ViewTestBase::viewsData().

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();
}