public function TestDrupal6SqlBase::query in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 162 - 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', array(
'filename',
'name',
'schema_version',
));
return $query;
}