Not all entity reference-style fields use "target_id" as the reference key, some of them, like og_membership, use other names for the array element. The current reference object doesn't provide a way of changing the array key used for storing the return value on a given field, so it'd be useful if there was a way of doing this.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | yaml_content-n3107138-2.patch | 1.14 KB | damienmckenna |
Comments
Comment #2
damienmckennaThis supports a third argument to the 'reference' processor so that you can e.g. generate og_membership records like this:
Comment #3
damienmckennaCommitted.
Comment #6
drupalninja99 commented@damien when I try to update to the latest version I am getting this error:
Comment #7
damienmckennaPlease open a new bug report for that.