function FilterStringTest::schemaDefinition
Same name in other branches
- 9 core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php \Drupal\Tests\views\Kernel\Handler\FilterStringTest::schemaDefinition()
- 8.9.x core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php \Drupal\Tests\views\Kernel\Handler\FilterStringTest::schemaDefinition()
- 11.x core/modules/views/tests/src/Kernel/Handler/FilterStringTest.php \Drupal\Tests\views\Kernel\Handler\FilterStringTest::schemaDefinition()
Overrides ViewsKernelTestBase::schemaDefinition
File
-
core/
modules/ views/ tests/ src/ Kernel/ Handler/ FilterStringTest.php, line 48
Class
- FilterStringTest
- Tests the core Drupal\views\Plugin\views\filter\StringFilter handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
protected function schemaDefinition() {
$schema = parent::schemaDefinition();
$schema['views_test_data']['fields']['description'] = [
'description' => "A person's description",
'type' => 'text',
'not null' => FALSE,
'size' => 'big',
];
return $schema;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.