function ViewTestBase::viewsData

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

Returns the views data definition.

9 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().
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.
HandlerTest::viewsData in core/modules/views/tests/src/Functional/Handler/HandlerTest.php
Returns the views data definition.

... See full list

8 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().
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.
HandlerTest::viewsData in core/modules/views/tests/src/Functional/Handler/HandlerTest.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.