protected function ImageNodeDrupalMigration::query in Image 7
Query for the image data.
Return value
Overrides DrupalMigration::query
1 call to ImageNodeDrupalMigration::query()
- ImageNodeDrupalMigration::__construct in image_migrate/
image_migrate.image.inc
File
- image_migrate/
image_migrate.image.inc, line 72 - Class for migrating Image module D6 files for image nodes into Drupal 7.
Class
- ImageNodeDrupalMigration
- Migration for image data on image nodes, migrating to an imagefield on nodes.
Code
protected function query() {
$query = Database::getConnection('default', $this->sourceConnection)
->select('image', 'i')
->fields('i')
->condition('image_size', '_original');
return $query;
}