protected function LanguageTestBase::schemaDefinition

Overrides \Drupal\views\Tests\ViewTestBase::schemaDefinition().

Overrides ViewUnitTestBase::schemaDefinition

File

drupal/core/modules/language/lib/Drupal/language/Tests/Views/LanguageTestBase.php, line 41
Contains \Drupal\language\Tests\Views\LanguageTestBase.

Class

LanguageTestBase
Defines the base class for all Language handler tests.

Namespace

Drupal\language\Tests\Views

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