function VariableTranslation::query

Same name in this branch
  1. 9 core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::query()
Same name in other branches
  1. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::query()
  2. 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::query()
  3. 10 core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::query()
  4. 10 core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::query()
  5. 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d6\VariableTranslation::query()
  6. 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/d7/VariableTranslation.php \Drupal\migrate_drupal\Plugin\migrate\source\d7\VariableTranslation::query()

Overrides SqlBase::query

File

core/modules/migrate_drupal/src/Plugin/migrate/source/d6/VariableTranslation.php, line 106

Class

VariableTranslation
Drupal 6 i18n_variable source from database.

Namespace

Drupal\migrate_drupal\Plugin\migrate\source\d6

Code

public function query() {
    return $this->getDatabase()
        ->select('i18n_variable', 'v')
        ->fields('v')
        ->condition('name', (array) $this->configuration['variables'], 'IN');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.