I'm looking to migrate a text field from Drupal 6 to Drupal 9. The field has two text fields.

The table description returned by describe content_field_telfono ; is the following.

Field Type Null Key Default Extra
vid int(10) unsigned NO PRI 0
nid int(10) unsigned NO MUL 0
field_telfono_value varchar(10) YES NULL
delta int(10) unsigned NO PRI 0

The table content returned by select * from content_field_telfono limit 0,2; is the following.

vid nid field_telfono_value delta
48 48 xxxxxxxxx 0
48 48 xxxxxxxxx 1

I found examples to migrate a multi-value. I tried with the following migration.

    plugin: sub_process
    source: field_telfono
      value: field_telfono_value
  • Did you just try a simple map first? source: destination
    – Kevin
    Commented Oct 4, 2022 at 20:52
  • How can I make it? The only examples I find in the core modules it's to map constants values. Thanks. Commented Oct 4, 2022 at 21:03
  • Make what? Simply try doing field_school_phone: field_telfono and running it again. There are several several examples in core for migrations, as well as contributed modules like Migrate Plus.
    – Kevin
    Commented Oct 5, 2022 at 0:56

1 Answer 1


have you seen this? migration using csv and yml for multivalued image field

anyway i think if you have the multivalued field separated by commas, it should work directly

  • Thanks for helping out. This appears to be a comment rather than an answer.
    – mona lisa
    Commented Oct 5, 2022 at 15:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.