Get all fields from a field collection in Drupal 7 function get_field_collection_fields($field){ $fc_instances = field_info_instances('field_collection_item', $field); $fc_fields = array_keys($fc_instances); return $fc_fields; }
Post a Comment