Mercurial > hg > isophonics-drupal-site
view core/modules/comment/src/Plugin/migrate/D7Comment.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | af1871eacc83 |
children |
line wrap: on
line 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(); } }