You are here

protected function DrupalCustomBlock5Migration::query in Drupal-to-Drupal data migration 7.2

Query for the basic custom block data.

Return value

QueryConditionInterface

Overrides DrupalMigration::query

File

d5/block_custom.inc, line 25
Implementation of DrupalCustomBlockMigration for Drupal 5 sources.

Class

DrupalCustomBlock5Migration

Code

protected function query() {
  $query = Database::getConnection('default', $this->sourceConnection)
    ->select('boxes', 'b')
    ->fields('b');
  return $query;
}