function ProfileField::query

Same name in other branches
  1. 9 core/modules/user/src/Plugin/migrate/source/ProfileField.php \Drupal\user\Plugin\migrate\source\ProfileField::query()
  2. 8.9.x core/modules/user/src/Plugin/migrate/source/ProfileField.php \Drupal\user\Plugin\migrate\source\ProfileField::query()
  3. 10 core/modules/user/src/Plugin/migrate/source/ProfileField.php \Drupal\user\Plugin\migrate\source\ProfileField::query()

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.