You are here

public function Language::query in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/src/Plugin/migrate/source/Language.php \Drupal\language\Plugin\migrate\source\Language::query()
  2. 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

1 call to Language::query()
Language::prepareRow in core/modules/language/src/Plugin/migrate/source/Language.php
Adds additional data to the row.

File

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

Class

Language
Drupal 6/7 language source from database.

Namespace

Drupal\language\Plugin\migrate\source

Code

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