You are here

public function D7Comment::getProcess in Drupal 8

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

Get the normalized process pipeline configuration describing the process plugins.

The process configuration is always normalized. All shorthand processing will be expanded into their full representations.

Return value

array The normalized configuration describing the process plugins.

Overrides FieldMigration::getProcess

See also

https://www.drupal.org/node/2129651#get-shorthand

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();
}