protected function FilterStringTest::schemaDefinition

Returns the schema definition.

Overrides ViewUnitTestBase::schemaDefinition

File

drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FilterStringTest.php, line 52
Definition of Drupal\views\Tests\Handler\FilterStringTest.

Class

FilterStringTest
Tests the core Drupal\views\Plugin\views\filter\String handler.

Namespace

Drupal\views\Tests\Handler

Code

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;
}