protected function DrupalFile5Migration::query in Drupal-to-Drupal data migration 7.2
@abstract The base source query for this migration.
Return value
Overrides DrupalMigration::query
1 method overrides DrupalFile5Migration::query()
- DrupalPicture5Migration::query in d5/
file.inc - We override the file query to get the pictures from the user table.
File
- d5/
file.inc, line 33 - Implementation of DrupalFileMigration for Drupal 5 sources.
Class
- DrupalFile5Migration
- @file Implementation of DrupalFileMigration for Drupal 5 sources.
Code
protected function query() {
$query = Database::getConnection('default', $this->sourceConnection)
->select('files', 'f')
->fields('f');
return $query;
}