public function RelationMigrateEntityReference::__construct in Relation 8
Same name and namespace in other branches
- 8.2 relation_migrate/relation_migrate.migration.inc \RelationMigrateEntityReference::__construct()
- 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
Code
public function __construct() {
parent::__construct('entityreference');
$this->source = new MigrateSourceEntityReference($this->fields);
}