You are here

public function ProfileField::query in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/user/src/Plugin/migrate/source/ProfileField.php \Drupal\user\Plugin\migrate\source\ProfileField::query()
  2. 9 core/modules/user/src/Plugin/migrate/source/ProfileField.php \Drupal\user\Plugin\migrate\source\ProfileField::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

1 call to ProfileField::query()
ProfileFieldOptionTranslation::query in core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldOptionTranslation.php
2 methods override ProfileField::query()
ProfileFieldOptionTranslation::query in core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldOptionTranslation.php
ProfileFieldTranslation::query in core/modules/config_translation/src/Plugin/migrate/source/d6/ProfileFieldTranslation.php

File

core/modules/user/src/Plugin/migrate/source/ProfileField.php, line 41

Class

ProfileField
Drupal 6/7 profile field source from database.

Namespace

Drupal\user\Plugin\migrate\source

Code

public function query() {
  $this
    ->setTableNames();
  return $this
    ->select($this->fieldTable, 'pf')
    ->fields('pf');
}