You are here

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

Query for the variable data.

Return value

QueryConditionInterface

Overrides DrupalMigration::query

1 call to DrupalVariableMigration::query()
DrupalVariableMigration::__construct in ./variable.inc

File

./variable.inc, line 47
Base class for migrating variables into Drupal.

Class

DrupalVariableMigration

Code

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