function Variable::query
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- 
              core/
modules/ migrate_drupal/ src/ Plugin/ migrate/ source/ Variable.php, line 160  
Class
- Variable
 - Drupal 6/7 variable source from database.
 
Namespace
Drupal\migrate_drupal\Plugin\migrate\sourceCode
public function query() {
  return $this->getDatabase()
    ->select('variable', 'v')
    ->fields('v', [
    'name',
    'value',
  ])
    ->condition('name', $this->variables, 'IN');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.