function ViewTestBase::schemaDefinition

Same name and namespace in other branches
  1. 11.x core/modules/views/tests/src/Functional/ViewTestBase.php \Drupal\Tests\views\Functional\ViewTestBase::schemaDefinition()

Returns the schema definition.

@internal

1 call to ViewTestBase::schemaDefinition()
ViewTestBase::enableViewsTestModule in core/modules/views/tests/src/Functional/ViewTestBase.php
Sets up the views_test_data.module.

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.