function ViewsKernelTestBase::schemaDefinition

Same name in other branches
  1. 9 core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::schemaDefinition()
  2. 8.9.x core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::schemaDefinition()
  3. 11.x core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::schemaDefinition()

Returns the schema definition.

@internal

1 call to ViewsKernelTestBase::schemaDefinition()
ViewsKernelTestBase::setUpFixtures in core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php
Sets up the configuration and schema of views and views_test_data modules.
6 methods override ViewsKernelTestBase::schemaDefinition()
FieldDateTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php
Returns the schema definition.
FieldTimeIntervalTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php
Returns the schema definition.
FilterBooleanOperatorStringTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php
Returns the schema definition.
FilterCombineTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FilterCombineTest.php
Allow {views_test_data}.job to be NULL.
FilterStringTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php
Returns the schema definition.

... See full list

File

core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php, line 135

Class

ViewsKernelTestBase
Defines a base class for Views kernel testing.

Namespace

Drupal\Tests\views\Kernel

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.