You are here

public function RelationMigrateEntityReference::__construct in Relation 7

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

Constructor.

Parameters

$field_type Field type machine name.:

Overrides RelationMigrateReference::__construct

File

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

Class

RelationMigrateEntityReference

Code

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