You are here

protected function FilterStringTest::schemaDefinition in Views (for Drupal 7) 8.3

The schema definition.

Overrides ViewTestBase::schemaDefinition

File

lib/Drupal/views/Tests/Handler/FilterStringTest.php, line 44
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;
}