You are here

public function MigrateDestinationRelation::__construct in Relation 7

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

Basic initialization

Parameters

string $bundle: A.k.a. the content type (page, article, etc.) of the node.

array $options: Options applied to nodes.

Overrides MigrateDestinationEntity::__construct

File

relation_migrate/relation_migrate.destination.inc, line 31
Support for relation destinations.

Class

MigrateDestinationRelation
Destination class implementing migration into relation.

Code

public function __construct($bundle, array $options = array()) {
  parent::__construct('relation', $bundle, $options);
}