public function ProfileFieldValues::query in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/src/Plugin/migrate/source/d6/ProfileFieldValues.php \Drupal\user\Plugin\migrate\source\d6\ProfileFieldValues::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ user/ src/ Plugin/ migrate/ source/ d6/ ProfileFieldValues.php, line 26 - Contains \Drupal\user\Plugin\migrate\source\d6\ProfileFieldValues.
Class
- ProfileFieldValues
- Drupal 6 profile fields values source.
Namespace
Drupal\user\Plugin\migrate\source\d6Code
public function query() {
$query = $this
->select('profile_values', 'pv')
->distinct()
->fields('pv', array(
'fid',
'uid',
));
return $query;
}