You are here

protected function ViewTestBase::schemaDefinition in Drupal 8

Same name in this branch
  1. 8 core/modules/views/src/Tests/ViewTestBase.php \Drupal\views\Tests\ViewTestBase::schemaDefinition()
  2. 8 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::schemaDefinition()
Same name and namespace in other branches
  1. 9 core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::schemaDefinition()

Returns the schema definition.

@internal

2 calls to ViewTestBase::schemaDefinition()
HandlerTest::schemaDefinition in core/modules/views_ui/tests/src/Functional/HandlerTest.php
Overrides \Drupal\views\Tests\ViewTestBase::schemaDefinition().
ViewTestBase::enableViewsTestModule in core/modules/views/tests/src/Functional/ViewTestBase.php
Sets up the views_test_data.module.
1 method overrides ViewTestBase::schemaDefinition()
HandlerTest::schemaDefinition in core/modules/views_ui/tests/src/Functional/HandlerTest.php
Overrides \Drupal\views\Tests\ViewTestBase::schemaDefinition().

File

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

Class

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

Namespace

Drupal\Tests\views\Functional

Code

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