Needs work
Project:
Features
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2015 at 10:06 UTC
Updated:
7 Oct 2015 at 13:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joachim commentedComment #3
mpotter commentedCan you give some examples? The features_get_feature_components() is specifically filtering the list to remove those with "features_source" . The comment says: "Returns components that are offered as an option on feature creation." So it seems like this might be done on purpose.
Comment #4
joachim commentedWithout the patch, I am missing:
- commerce_customer
- field
- variable_realm
I agree that the first two look like they don't belong in the list.
variable_realm however is definitely something you'd want to export -- it was its absence that prompted me to investigate this.
Is variable_realm perhaps declared incorrectly? It's implementing hook_features_export_options() but not hook_features_api().
Comment #5
mpotter commentedYes, it should implement hook_features_api(), even if it just needs to return an empty array. Otherwise it's not detected as a valid feature source.