public function VariableMultiRow::query in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ VariableMultiRow.php, line 27 - Contains \Drupal\migrate_drupal\Plugin\migrate\source\VariableMultiRow.
Class
- VariableMultiRow
- Multiple variables source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
public function query() {
return $this
->select('variable', 'v')
->fields('v', array(
'name',
'value',
))
->condition('name', (array) $this->configuration['variables'], 'IN');
}