function FieldTimeIntervalTest::schemaDefinition
Same name in other branches
- 10 core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php \Drupal\Tests\views\Kernel\Handler\FieldTimeIntervalTest::schemaDefinition()
- 11.x core/modules/views/tests/src/Kernel/Handler/FieldTimeIntervalTest.php \Drupal\Tests\views\Kernel\Handler\FieldTimeIntervalTest::schemaDefinition()
Overrides \Drupal\views\Tests\ViewUnitTestBase::schemaDefinition().
Overrides ViewTestBase::schemaDefinition
File
-
core/
modules/ views/ tests/ src/ Functional/ Handler/ FieldTimeIntervalTest.php, line 71
Class
- FieldTimeIntervalTest
- Tests the time interval handler.
Namespace
Drupal\Tests\views\Functional\HandlerCode
protected function schemaDefinition() {
$schema_definition = parent::schemaDefinition();
$schema_definition['views_test_data']['fields']['age']['not null'] = FALSE;
return $schema_definition;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.