You are here

public function ParagraphsLookup::__construct in Paragraphs 8

Constructs a MigrationLookup object.

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.

\Drupal\migrate\Plugin\MigrationInterface $migration: The Migration the plugin is being used in.

\Drupal\migrate\MigrateLookupInterface $migrate_lookup: The migrate lookup service.

\Drupal\migrate\MigrateStubInterface $migrate_stub: The migrate stub service.

\Drupal\migrate\Plugin\MigrationPluginManagerInterface $migration_plugin_manager: The Migration Plugin Manager Interface.

\Drupal\migrate\Plugin\MigratePluginManagerInterface $process_plugin_manager: The process migration plugin manager.

Overrides MigrationLookup::__construct

File

src/Plugin/migrate/process/ParagraphsLookup.php, line 70

Class

ParagraphsLookup
Looks up the value of a paragraph property based on previous migrations.

Namespace

Drupal\paragraphs\Plugin\migrate\process

Code

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