D7Comment.php
Same filename in other branches
Namespace
Drupal\comment\Plugin\migrateFile
-
core/
modules/ comment/ src/ Plugin/ migrate/ D7Comment.php
View source
<?php
namespace Drupal\comment\Plugin\migrate;
use Drupal\migrate_drupal\Plugin\migrate\FieldMigration;
/**
* Migration plugin for Drupal 7 comments with fields.
*/
class D7Comment extends FieldMigration {
/**
* {@inheritdoc}
*/
public function getProcess() {
if (!$this->init) {
$this->init = TRUE;
$this->fieldDiscovery
->addEntityFieldProcesses($this, 'comment');
}
return parent::getProcess();
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
D7Comment | Migration plugin for Drupal 7 comments with fields. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.