You are here

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

Get any core profile values associated with this user.

Parameters

$row:

$entity_id:

$include_body:

Overrides DrupalVersion::getProfileValues

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

File

d5/d5.inc, line 345
Implementation of DrupalVersion for Drupal 5 sources.

Class

DrupalVersion5
Drupal 5 implementations of functions shared among multiple types of objects.

Code

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