You are here

public function RelationMigrateTermReference::__construct in Relation 8.2

Same name and namespace in other branches
  1. 8 relation_migrate/relation_migrate.migration.inc \RelationMigrateTermReference::__construct()
  2. 7 relation_migrate/relation_migrate.migration.inc \RelationMigrateTermReference::__construct()

Constructor.

Parameters

$field_type Field type machine name.:

Overrides RelationMigrateReference::__construct

File

relation_migrate/relation_migrate.migration.inc, line 118
Migration for entityreference fields.

Class

RelationMigrateTermReference

Code

public function __construct() {
  parent::__construct('taxonomy_term_reference');
  $this->source = new MigrateSourceTermReference($this->fields);
}