function VariableMultiRow::query
Same name in other branches
- 8.9.x core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::query()
- 10 core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::query()
- 11.x core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::query()
Overrides SqlBase::query
2 methods override VariableMultiRow::query()
- Color::query in core/
modules/ color/ src/ Plugin/ migrate/ source/ d7/ Color.php - ThemeSettings::query in core/
modules/ system/ src/ Plugin/ migrate/ source/ d7/ ThemeSettings.php
File
-
core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ VariableMultiRow.php, line 47
Class
- VariableMultiRow
- Drupal 6/7 multiple variables source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
public function query() {
return $this->select('variable', 'v')
->fields('v', [
'name',
'value',
])
->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.