Last Updated: March 02, 2016
·
199
· Unifex

Drupal Migrate D2D :: Taxonomy terms on nodes

Migrating taxonomy terms using the migrate_d2d module has a few "gotchas". The main one is the structure of the terms as they appear on the source row.

This post explains my experience with this and the resulting code that got me past it. The main thing though;

<?php
// Source row.
$row->{$destination_vid} = array(
  $source_tid1,
  $source_tid2,
  $source_tid3,
);
?>