You are here

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

The schema definition.

Overrides ViewTestBase::schemaDefinition

File

lib/Drupal/views/Tests/Language/LanguageTestBase.php, line 36
Definition of Drupal\views\Tests\Language\LanguageTestBase.

Class

LanguageTestBase
Base class for all Language handler tests.

Namespace

Drupal\views\Tests\Language

Code

protected function schemaDefinition() {
  $schema = parent::schemaDefinition();
  $schema['views_test_data']['fields']['langcode'] = array(
    'description' => 'The {language}.langcode of this beatle.',
    'type' => 'varchar',
    'length' => 12,
    'default' => '',
  );
  return $schema;
}