You are here

public function RelationMigrateEntityReference::__construct in Relation 8

Same name and namespace in other branches
  1. 8.2 relation_migrate/relation_migrate.migration.inc \RelationMigrateEntityReference::__construct()
  2. 7 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 79
Migration for entityreference fields.

Class

RelationMigrateEntityReference

Code

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