trait DatabaseTestSchemaInstallTrait
Trait to manage installation for test tables.
Hierarchy
- trait \Drupal\KernelTests\Core\Database\DatabaseTestSchemaInstallTrait
File
- 
              core/tests/ Drupal/ KernelTests/ Core/ Database/ DatabaseTestSchemaInstallTrait.php, line 8 
Namespace
Drupal\KernelTests\Core\DatabaseView source
trait DatabaseTestSchemaInstallTrait {
  
  /**
   * Sets up our sample table schema.
   */
  protected function installSampleSchema() : void {
    $this->installSchema('database_test', [
      'test',
      'test_classtype',
      'test_people',
      'test_people_copy',
      'test_one_blob',
      'test_two_blobs',
      'test_task',
      'test_null',
      'test_serialized',
      'TEST_UPPERCASE',
      'select',
      'virtual',
    ]);
  }
}Members
| Title Sort descending | Modifiers | Object type | Summary | 
|---|---|---|---|
| DatabaseTestSchemaInstallTrait::installSampleSchema | protected | function | Sets up our sample table schema. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
