You are here

public function SubProcess::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/process/SubProcess.php \Drupal\migrate\Plugin\migrate\process\SubProcess::__construct()

SubProcess constructor.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

Overrides PluginBase::__construct

File

core/modules/migrate/src/Plugin/migrate/process/SubProcess.php, line 185

Class

SubProcess
Runs an array of arrays through its own process pipeline.

Namespace

Drupal\migrate\Plugin\migrate\process

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition) {
  $configuration += [
    'include_source' => FALSE,
    'source_key' => 'source',
  ];
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}