You are here

public function RelationMigrateNodeReference::__construct in Relation 8

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

Constructor.

Parameters

$field_type Field type machine name.:

Overrides RelationMigrateReference::__construct

File

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

Class

RelationMigrateNodeReference

Code

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