function FieldDateTest::schemaDefinition
Returns the schema definition.
@internal
Overrides ViewsKernelTestBase::schemaDefinition
File
- 
              core/modules/ views/ tests/ src/ Kernel/ Handler/ FieldDateTest.php, line 28 
Class
- FieldDateTest
- Tests the core Drupal\views\Plugin\views\field\Date handler.
Namespace
Drupal\Tests\views\Kernel\HandlerCode
public function schemaDefinition() {
  $schema = parent::schemaDefinition();
  $schema['views_test_data']['fields']['destroyed'] = [
    'description' => "The destruction date of this record",
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => FALSE,
    'default' => 0,
    'size' => 'big',
  ];
  return $schema;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
