function ViewTestBase::viewsData

Same name in other branches
  1. 8.9.x core/modules/views/src/Tests/ViewTestBase.php \Drupal\views\Tests\ViewTestBase::viewsData()
  2. 8.9.x core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::viewsData()
  3. 10 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::viewsData()
  4. 11.x core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::viewsData()

Returns the views data definition.

10 calls to ViewTestBase::viewsData()
AreaTest::viewsData in core/modules/views/tests/src/Functional/Handler/AreaTest.php
Returns the views data definition.
CustomBooleanTest::viewsData in core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php
\Drupal\views\Tests\ViewTestBase::viewsData().
FieldTimeIntervalTest::viewsData in core/modules/views/tests/src/Functional/Handler/FieldTimeIntervalTest.php
Overrides \Drupal\views\Tests\ViewUnitTestBase::viewsData().
FieldWebTest::viewsData in core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
Returns the views data definition.
FilterTest::viewsData in core/modules/views/tests/src/Functional/Plugin/FilterTest.php
Returns the views data definition.

... See full list

9 methods override ViewTestBase::viewsData()
AreaTest::viewsData in core/modules/views/tests/src/Functional/Handler/AreaTest.php
Returns the views data definition.
CustomBooleanTest::viewsData in core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php
\Drupal\views\Tests\ViewTestBase::viewsData().
FieldTimeIntervalTest::viewsData in core/modules/views/tests/src/Functional/Handler/FieldTimeIntervalTest.php
Overrides \Drupal\views\Tests\ViewUnitTestBase::viewsData().
FieldWebTest::viewsData in core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
Returns the views data definition.
FilterTest::viewsData in core/modules/views/tests/src/Functional/Plugin/FilterTest.php
Returns the views data definition.

... See full list

File

core/modules/views/tests/src/Functional/ViewTestBase.php, line 150

Class

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

Namespace

Drupal\Tests\views\Functional

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.