You are here

public function AgreementSettings::__construct in Agreement 3.0.x

Same name and namespace in other branches
  1. 8.2 src/Plugin/migrate/process/AgreementSettings.php \Drupal\agreement\Plugin\migrate\process\AgreementSettings::__construct()

Initialize method.

Parameters

array $configuration: The plugin configuration.

string $plugin_id: The plugin ID.

array $plugin_definition: The plugin definition.

\Drupal\migrate\Plugin\MigrationInterface $migration: This migration.

\Drupal\migrate\Plugin\MigrationPluginManagerInterface $migration_plugin_manager: Migration plugin manager.

\Drupal\migrate\Plugin\MigratePluginManagerInterface $process_plugin_manager: Process plugin manager.

Overrides PluginBase::__construct

File

src/Plugin/migrate/process/AgreementSettings.php, line 61

Class

AgreementSettings
Agreement settings process plugin.

Namespace

Drupal\agreement\Plugin\migrate\process

Code

public function __construct(array $configuration, $plugin_id, array $plugin_definition, MigrationInterface $migration, MigrationPluginManagerInterface $migration_plugin_manager, MigratePluginManagerInterface $process_plugin_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->migration = $migration;
  $this->migrationPluginManager = $migration_plugin_manager;
  $this->processPluginManager = $process_plugin_manager;
}