public function TestDrupal6SqlBase::query in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php \Drupal\Tests\migrate_drupal\Unit\source\d6\TestDrupal6SqlBase::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ migrate_drupal/ tests/ src/ Unit/ source/ d6/ Drupal6SqlBaseTest.php, line 163 - Contains \Drupal\Tests\migrate_drupal\Unit\source\d6\Drupal6SqlBaseTest.
Class
- TestDrupal6SqlBase
- Extends the Drupal6SqlBase abstract class.
Namespace
Drupal\Tests\migrate_drupal\Unit\source\d6Code
public function query() {
$query = $this->database
->select('system', 's')
->fields('s', [
'filename',
'name',
'schema_version',
]);
return $query;
}