You are here

public function ThemeSettings::query in Drupal 8

Same name and namespace in other branches
  1. 9 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 20

Class

ThemeSettings
Drupal 7 system source from database.

Namespace

Drupal\system\Plugin\migrate\source\d7

Code

public function query() {
  return $this
    ->select('variable', 'v')
    ->fields('v', [
    'name',
    'value',
  ])
    ->condition('name', 'theme_%_settings', 'LIKE');
}