function ThemeSettings::query

Same name in other branches
  1. 8.9.x core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\source\d7\ThemeSettings::query()
  2. 10 core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\source\d7\ThemeSettings::query()
  3. 11.x core/modules/system/src/Plugin/migrate/source/d7/ThemeSettings.php \Drupal\system\Plugin\migrate\source\d7\ThemeSettings::query()

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\d7

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.