public function Extension::query in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/src/Plugin/migrate/source/Extension.php \Drupal\system\Plugin\migrate\source\Extension::query()
- 9 core/modules/system/src/Plugin/migrate/source/Extension.php \Drupal\system\Plugin\migrate\source\Extension::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ system/ src/ Plugin/ migrate/ source/ Extension.php, line 42
Class
- Extension
- Drupal 6/7 system data for a legacy extension source from database.
Namespace
Drupal\system\Plugin\migrate\sourceCode
public function query() {
$query = $this
->select('system', 's')
->fields('s');
if (isset($this->configuration['name'])) {
$query
->condition('name', (array) $this->configuration['name'], 'IN');
}
return $query;
}