3 namespace Drupal\taxonomy\Plugin\migrate\field;
5 use Drupal\migrate\Plugin\MigrationInterface;
6 use Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase;
10 * id = "taxonomy_term_reference",
12 * "taxonomy_term_reference" = "entity_reference"
17 class TaxonomyTermReference extends FieldPluginBase {
22 public function processFieldValues(MigrationInterface $migration, $field_name, $data) {
24 'plugin' => 'sub_process',
25 'source' => $field_name,
30 $migration->setProcessOfProperty($field_name, $process);