function TestDrupal6SqlBase::query

Same name in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\d6\TestDrupal6SqlBase::query()
  2. 8.9.x core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\d6\TestDrupal6SqlBase::query()
  3. 11.x core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\d6\TestDrupal6SqlBase::query()

Overrides SqlBase::query

File

core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php, line 164

Class

TestDrupal6SqlBase
Extends the Drupal6SqlBase abstract class.

Namespace

Drupal\Tests\migrate_drupal\Unit\source\d6

Code

public function query() {
    $query = $this->database
        ->select('system', 's')
        ->fields('s', [
        'filename',
        'name',
        'schema_version',
    ]);
    return $query;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.