public function Variable::query in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate_drupal/src/Plugin/migrate/source/Variable.php \Drupal\migrate_drupal\Plugin\migrate\source\Variable::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ Variable.php, line 80 - Contains \Drupal\migrate_drupal\Plugin\migrate\source\Variable.
Class
- Variable
- Drupal variable source from database.
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
public function query() {
return $this
->getDatabase()
->select('variable', 'v')
->fields('v', array(
'name',
'value',
))
->condition('name', $this->variables, 'IN');
}