You are here

public function Language::query in Drupal 8

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()

Return value

\Drupal\Core\Database\Query\SelectInterface

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