protected function LanguageTestBase::schemaDefinition in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/Tests/Views/LanguageTestBase.php \Drupal\language\Tests\Views\LanguageTestBase::schemaDefinition()
Returns the schema definition.
Overrides ViewKernelTestBase::schemaDefinition
File
- core/
modules/ language/ src/ Tests/ Views/ LanguageTestBase.php, line 36 - Contains \Drupal\language\Tests\Views\LanguageTestBase.
Class
- LanguageTestBase
- Defines the base class for all Language handler tests.
Namespace
Drupal\language\Tests\ViewsCode
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;
}