You are here

public function Migration::setProcess in Drupal 10

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

Allows you to override the entire process configuration.

Parameters

array $process: The entire process pipeline configuration describing the process plugins.

Return value

$this

Overrides MigrationInterface::setProcess

File

core/modules/migrate/src/Plugin/Migration.php, line 638

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

public function setProcess(array $process) {
  $this->process = $process;
  return $this;
}