{$this->aliases['person_uid']})) { return $values->{$this->field_alias}; } else { $account = new stdClass(); $account->uid = $values->{$this->aliases['person_uid']}; // Show the value on the field if not mapped. if ($account->uid == 0) { $account->name = $values->{$this->field_alias}; } else { if (empty($values->{$this->aliases['person_username']})) { return $values->{$this->field_alias}; } else { $account->name = $values->{$this->aliases['person_username']}; } } return theme('username', $account); } } }