I've got a simple Text field which allows 2 values, let's call it field_text
. My source database has two columns, let's say text1
and text2
.
I want to set my migrate field mapping so that text1
is used as the first value for field_text
and use text2
as the second value for field_text
.
In other words, something like this:
$this->addFieldMapping('field_text[0]', 'text1');
$this->addFieldMapping('field_text[1]', 'text2');