public function VariableMultiRow::query in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate_drupal/src/Plugin/migrate/source/VariableMultiRow.php \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
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 23
Class
- VariableMultiRow
- 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');
}