Ctools uses hook_field_schema to determine foreign key information to provide entity relationships represented in fields. The attached patch adds foreign key info to field_collection_field_schema in the .install file so that ctools understands how to create a relationship from an entity to its field collection items. Since foreign key info does not modify the database in D7, no update is required.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | field_collection-foreign_keys-1529850-3.patch | 491 bytes | Josh Benner |
| field_collection-foreign_keys.patch | 438 bytes | Josh Benner |
Comments
Comment #2
Josh Benner commentedWas -p0 the issue? Here's a -p1 patch to try...
Comment #3
jmuzz commentedSeems like a good idea, but it needs 2 things: