Add new comment

Posted on by Mike Ryan.

I would implement sensible default field mappings in the code, which you can then override through the UI.

On the migration detail View tab, under the Mapping vertical tabs, mappings that are pulled from the database (most likely, but not necessarily, because they were overridden through the UI) are italicized.

The ability to export mappings to code most likely won't happen until Migrate V3 on Drupal 8 - see https://drupal.org/node/1983404

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Filtered HTML

  • Use [acphone_sales], [acphone_sales_text], [acphone_support], [acphone_international], [acphone_devcloud], [acphone_extra1] and [acphone_extra2] as placeholders for Acquia phone numbers. Add class "acquia-phones-link" to wrapper element to make number a link.
  • To post pieces of code, surround them with <code>...</code> tags. For PHP code, you can use <?php ... ?>, which will also colour it based on syntax.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <h4> <h5> <h2> <img>
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.