Closed (fixed)
Project:
Link
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2012 at 15:16 UTC
Updated:
18 Feb 2013 at 05:20 UTC
As of Migrate 2.4, subfields can be mapped directly (none of the awkward argument array/source_field stuff). The attached patch adds the fields() method to expose these subfields in the Migrate UI, as well as documentation on how to map the fields both pre- and post-2.4.
| Comment | File | Size | Author |
|---|---|---|---|
| link-migrate_subfields.patch | 1.49 KB | mikeryan |
Comments
Comment #1
becw commentedI found this patch while trying to figure out how to pass other row field values as arguments. The patch applies cleanly to the latest -dev and provides very helpful clues on how to use Link's migrate class.
Comment #2
vlad.dancer+1 RTBC for this pach!!! Thx a lot for this patch, also i had made patch for money field in this way.
Comment #3
rupertj commentedThis patch is really useful and works well. Please commit it.
Comment #4
mikeryanNote that I've posted a consolidated patch in #1010850: Update MigrateFieldHandler to work with migrate-7.x-2.4 and later that would supercede this.
Comment #5
jcfiala commentedSince I've merged in #1010850: Update MigrateFieldHandler to work with migrate-7.x-2.4 and later, this should be fixed now.