protected function FilterStringTest::schemaDefinition in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/src/Tests/Handler/FilterStringTest.php \Drupal\views\Tests\Handler\FilterStringTest::schemaDefinition()
Returns the schema definition.
Overrides ViewKernelTestBase::schemaDefinition
File
- core/
modules/ views/ src/ Tests/ Handler/ FilterStringTest.php, line 53 - Contains \Drupal\views\Tests\Handler\FilterStringTest.
Class
- FilterStringTest
- Tests the core Drupal\views\Plugin\views\filter\StringFilter handler.
Namespace
Drupal\views\Tests\HandlerCode
protected function schemaDefinition() {
$schema = parent::schemaDefinition();
$schema['views_test_data']['fields']['description'] = array(
'description' => "A person's description",
'type' => 'text',
'not null' => FALSE,
'size' => 'big',
);
return $schema;
}