function uif_plus_process_file_field in User Import Framework Plus 7
Process import of file fields.
Parameters
object $account:
array $field_info:
string $value:
Return value
$file - Array of uploaded file data
1 string reference to 'uif_plus_process_file_field'
- uif_plus_uif_supported_fields in ./
uif_plus.module - Implements hook_uif_supported_fields().
File
- ./
uif_plus.module, line 327 - Advanced user import from a CSV file.
Code
function uif_plus_process_file_field($account, $field_info, $value) {
if (drupal_strlen($value)) {
$file = uif_plus_upload_file($account, $field_info, $value);
return (array) $file;
}
}