Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ProfileFieldValues.php

function ProfileFieldValues::query

Overrides SqlBase::query

File

core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldValues.php, line 26

Class

ProfileFieldValues
Drupal 6 profile fields values source from database.

Namespace

Drupal\user\Plugin\migrate\source\d6

Code

public function query() {
    $query = $this->select('profile_values', 'pv')
        ->distinct()
        ->fields('pv', [
        'uid',
    ]);
    return $query;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal