You are here

public function Language::query in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 53
Contains \Drupal\language\Plugin\migrate\source\Language.

Class

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

Namespace

Drupal\language\Plugin\migrate\source

Code

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