function LanguageContentSettings::query

Same name in this branch
  1. 9 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::query()
Same name in other branches
  1. 8.9.x core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::query()
  2. 8.9.x core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::query()
  3. 10 core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::query()
  4. 10 core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::query()
  5. 11.x core/modules/language/src/Plugin/migrate/source/d6/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d6\LanguageContentSettings::query()
  6. 11.x core/modules/language/src/Plugin/migrate/source/d7/LanguageContentSettings.php \Drupal\language\Plugin\migrate\source\d7\LanguageContentSettings::query()

Overrides SqlBase::query

File

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

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',
    ]);
}

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