public function __construct(array
$configuration,
$plugin_id,
$plugin_definition, MigrationPluginManagerInterface
$migration_plugin_manager, MigratePluginManagerInterface
$source_plugin_manager, MigratePluginManagerInterface
$process_plugin_manager, MigrateDestinationPluginManager
$destination_plugin_manager, MigratePluginManagerInterface
$id_map_plugin_manager) { parent::
__construct($configuration,
$plugin_id,
$plugin_definition);
$this->migrationPluginManager =
$migration_plugin_manager;
$this->sourcePluginManager =
$source_plugin_manager;
$this->processPluginManager =
$process_plugin_manager;
$this->destinationPluginManager =
$destination_plugin_manager;
$this->idMapPluginManager =
$id_map_plugin_manager;
foreach (NestedArray::
mergeDeepArray([$plugin_definition,
$configuration], TRUE
) as $key =>
$value) { $this->
$key =
$value;
} if (isset($plugin_definition['trackLastImported'
])) { @
trigger_error("The key 'trackLastImported' is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3282894", E_USER_DEPRECATED
);
} $this->migration_dependencies =
($this->migration_dependencies ?:
[]) +
['required' =>
[], 'optional' =>
[]];
if (count($this->migration_dependencies
) !== 2 || !
is_array($this->migration_dependencies
['required'
]) || !
is_array($this->migration_dependencies
['optional'
])) { @
trigger_error("Invalid migration dependencies for {
$this->
id()} is deprecated in drupal:10.1.0 and will cause an error in drupal:11.0.0. See https://www.drupal.org/node/3266691", E_USER_DEPRECATED
);
} }