Mercurial > hg > isophonics-drupal-site
view core/modules/comment/src/Plugin/migrate/D7Comment.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
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(); } }