You are here

public function ProfileField::query in Drupal 9

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

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

2 calls to 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
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 40

Class

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