You are here

public function DrupalVersion6::getProfileValues in Drupal-to-Drupal data migration 7.2

Get any core profile values associated with this user.

Parameters

$row:

$entity_id:

Overrides DrupalVersion::getProfileValues

1 call to DrupalVersion6::getProfileValues()
DrupalVersion6::getSourceValues in d6/d6.inc
Populate a migration's source row object with field values.

File

d6/d6.inc, line 493
Implementation of DrupalVersion for Drupal 6 sources.

Class

DrupalVersion6
Drupal 6 implementations of functions shared among multiple types of objects.

Code

public function getProfileValues($row, $entity_id) {
  if (Database::getConnection('default', $this->arguments['source_connection'])
    ->schema()
    ->tableExists('profile_values')) {
    migrate_instrument_start('DrupalVersion6::getProfileValues');
    $row = parent::getProfileValues($row, $entity_id);
    migrate_instrument_stop('DrupalVersion6::getProfileValues');
  }
}