You are here

public function MigrateDestinationNode::__construct in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/destinations/node.inc \MigrateDestinationNode::__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

1 call to MigrateDestinationNode::__construct()
MigrateDestinationNodeRevision::__construct in plugins/destinations/node.inc
Basic initialization.
1 method overrides MigrateDestinationNode::__construct()
MigrateDestinationNodeRevision::__construct in plugins/destinations/node.inc
Basic initialization.

File

plugins/destinations/node.inc, line 48
Support for node destinations.

Class

MigrateDestinationNode
Destination class implementing migration into nodes.

Code

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