function ViewsKernelTestBase::schemaDefinition
Same name in other branches
- 9 core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::schemaDefinition()
- 8.9.x core/modules/views/tests/src/Kernel/ViewsKernelTestBase.php \Drupal\Tests\views\Kernel\ViewsKernelTestBase::schemaDefinition()
- 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.
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\KernelCode
protected function schemaDefinition() {
return ViewTestData::schemaDefinition();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.