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. 10 core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::schemaDefinition()

Returns the schema definition.

@internal

8 calls to ViewsKernelTestBase::schemaDefinition()
FieldDateTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php
FieldTimeIntervalTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php
FilterBooleanOperatorStringTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php
FilterBooleanOperatorTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorTest.php
FilterCombineTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FilterCombineTest.php
Allow {views_test_data}.job to be NULL.

... See full list

7 methods override ViewsKernelTestBase::schemaDefinition()
FieldDateTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FieldDateTest.php
FieldTimeIntervalTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php
FilterBooleanOperatorStringTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorStringTest.php
FilterBooleanOperatorTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FilterBooleanOperatorTest.php
FilterCombineTest::schemaDefinition in core/modules/views/tests/src/Kernel/Handler/FilterCombineTest.php
Allow {views_test_data}.job to be NULL.

... 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.