function Language::query

Same name and namespace in other branches
  1. 9 core/modules/language/src/Plugin/migrate/source/Language.php \Drupal\language\Plugin\migrate\source\Language::query()
  2. 10 core/modules/language/src/Plugin/migrate/source/Language.php \Drupal\language\Plugin\migrate\source\Language::query()
  3. 11.x core/modules/language/src/Plugin/migrate/source/Language.php \Drupal\language\Plugin\migrate\source\Language::query()

Overrides SqlBase::query

File

core/modules/language/src/Plugin/migrate/source/Language.php, line 49

Class

Language
Plugin annotation @MigrateSource( id = "language", source_module = "locale" )

Namespace

Drupal\language\Plugin\migrate\source

Code

public function query() {
    return $this->select('languages')
        ->fields('languages');
}

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