You are here

public function D7Comment::getProcess in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/comment/src/Plugin/migrate/D7Comment.php \Drupal\comment\Plugin\migrate\D7Comment::getProcess()
  2. 9 core/modules/comment/src/Plugin/migrate/D7Comment.php \Drupal\comment\Plugin\migrate\D7Comment::getProcess()

File

core/modules/comment/src/Plugin/migrate/D7Comment.php, line 15

Class

D7Comment
Migration plugin for Drupal 7 comments with fields.

Namespace

Drupal\comment\Plugin\migrate

Code

public function getProcess() {
  if (!$this->init) {
    $this->init = TRUE;
    $this->fieldDiscovery
      ->addEntityFieldProcesses($this, 'comment');
  }
  return parent::getProcess();
}