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