public function ThemeSettings::query in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\source\d7\ThemeSettings::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides VariableMultiRow::query
File
- core/
modules/ system/ src/ Plugin/ migrate/ source/ d7/ ThemeSettings.php, line 26
Class
- ThemeSettings
- Drupal 7 theme settings source from database.
Namespace
Drupal\system\Plugin\migrate\source\d7Code
public function query() {
return $this
->select('variable', 'v')
->fields('v', [
'name',
'value',
])
->condition('name', 'theme_%_settings', 'LIKE');
}