You are here

public function MigrateDestinationComment::__construct in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/destinations/comment.inc \MigrateDestinationComment::__construct()

Basic initialization

Parameters

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

array $options: Options applied to comments.

Overrides MigrateDestinationEntity::__construct

File

plugins/destinations/comment.inc, line 53
Support for comment destinations.

Class

MigrateDestinationComment
Destination class implementing migration into comments.

Code

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