function PreviewTest::viewsData

Same name in other branches
  1. 9 core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php \Drupal\Tests\views_ui\FunctionalJavascript\PreviewTest::viewsData()
  2. 10 core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php \Drupal\Tests\views_ui\FunctionalJavascript\PreviewTest::viewsData()
  3. 11.x core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php \Drupal\Tests\views_ui\FunctionalJavascript\PreviewTest::viewsData()

Returns the views data definition.

1 call to PreviewTest::viewsData()
PreviewTest::enableViewsTestModule in core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php
Sets up the views_test_data.module.

File

core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php, line 99

Class

PreviewTest
Tests the UI preview functionality.

Namespace

Drupal\Tests\views_ui\FunctionalJavascript

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.