Commit 3d9ca14b authored by tedbow's avatar tedbow Committed by fago

Issue #1986736 by tedbow, ciss, coline: EntityDefaultFeaturesController...

Issue #1986736 by tedbow, ciss, coline: EntityDefaultFeaturesController doesn't export field instances. Breaks export with Features 2.x
parent ef9c09e7
...@@ -91,6 +91,7 @@ class EntityDefaultFeaturesController { ...@@ -91,6 +91,7 @@ class EntityDefaultFeaturesController {
$fields = field_info_instances($this->info['bundle of'], $entity->{$this->bundleKey}); $fields = field_info_instances($this->info['bundle of'], $entity->{$this->bundleKey});
foreach ($fields as $name => $field) { foreach ($fields as $name => $field) {
$pipe['field'][] = "{$field['entity_type']}-{$field['bundle']}-{$field['field_name']}"; $pipe['field'][] = "{$field['entity_type']}-{$field['bundle']}-{$field['field_name']}";
$pipe['field_instance'][] = "{$field['entity_type']}-{$field['bundle']}-{$field['field_name']}";
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment