You are here

public function LanguageContentSettings::query in Drupal 8

Same name in this branch
  1. 8 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::query()
  2. 8 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. 9 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::query()
  2. 10 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 21

Class

LanguageContentSettings
Drupal multilingual node settings from database.

Namespace

Drupal\language\Plugin\migrate\source\d6

Code

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