function uif_plus_profile2_fields in User Import Framework Plus 7
Get all fields provided by profile2 types
Return value
array $instance_fields
3 calls to uif_plus_profile2_fields()
- uif_plus_get_field_info in ./
uif_plus.module - Create array of field info of supported fields and uif plus data for the later process of import
- uif_plus_uif_help in ./
uif_plus.module - Implements hook_uif_help().
- uif_plus_uif_supported_fields in ./
uif_plus.module - Implements hook_uif_supported_fields().
File
- ./
uif_plus.module, line 465 - Advanced user import from a CSV file.
Code
function uif_plus_profile2_fields() {
$instance_fields = array();
if (module_exists('profile2')) {
foreach (profile2_get_types() as $type) {
$instance_fields = array_merge($instance_fields, uif_field_info_instances('profile2', $type->type));
}
}
return $instance_fields;
}