You are here

public function LanguageContentSettings::query in Drupal 9

Same name in this branch
  1. 9 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::query()
  2. 9 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::query()
Same name and namespace in other branches
  1. 8 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php, line 25

Class

LanguageContentSettings
Drupal 6 i18n node settings from database.

Namespace

Drupal\language\Plugin\migrate\source\d6

Code

public function query() {
  return $this
    ->select('node_type', 't')
    ->fields('t', [
    'type',
  ]);
}