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