class MigrateCommentNodeHandler in Migrate 7.2
Hierarchy
- class \MigrateHandler
- class \MigrateDestinationHandler
- class \MigrateCommentNodeHandler
- class \MigrateDestinationHandler
Expanded class hierarchy of MigrateCommentNodeHandler
1 string reference to 'MigrateCommentNodeHandler'
File
- plugins/
destinations/ comment.inc, line 369 - Support for comment destinations.
View source
class MigrateCommentNodeHandler extends MigrateDestinationHandler {
public function __construct() {
$this
->registerTypes(array(
'node',
));
}
/**
* Implementation of MigrateDestinationHandler::fields().
*/
public function fields($entity_type, $bundle, $migration = NULL) {
$fields = array();
$fields['comment'] = t('Whether comments may be posted to the node');
return $fields;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MigrateCommentNodeHandler:: |
public | function | Implementation of MigrateDestinationHandler::fields(). | |
MigrateCommentNodeHandler:: |
public | function |
Overrides MigrateHandler:: |
|
MigrateHandler:: |
protected | property | List of other handler classes which should be invoked before the current one. | |
MigrateHandler:: |
protected | property | List of "types" handled by this handler. Depending on the kind of handler, these may be destination types, field types, etc. | |
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | ||
MigrateHandler:: |
public | function | Does this handler handle the given type? | 1 |
MigrateHandler:: |
protected | function | Register a list of types handled by this class |