You are here

function _crm_core_data_import_is_field_collection_field in CRM Core 7

Check if field is field collection.

1 call to _crm_core_data_import_is_field_collection_field()
MigrationDataImport::skipCollectionField in modules/crm_core_data_import/includes/controllers/MigrationDataImport.inc
Check if we need skip field collection.

File

modules/crm_core_data_import/crm_core_data_import.module, line 755
Provides basic functionality for a CRM Core Data Import.

Code

function _crm_core_data_import_is_field_collection_field($field_name) {
  $field = field_info_field($field_name);
  return !empty($field['type']) && $field['type'] == 'field_collection';
}