You are here

public function MigrateLookup::__construct in Drupal 10

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

Constructs a MigrateLookup object.

Parameters

\Drupal\migrate\Plugin\MigrationPluginManagerInterface $migration_plugin_manager: The migration plugin manager.

File

core/modules/migrate/src/MigrateLookup.php, line 28

Class

MigrateLookup
Provides a migration lookup service.

Namespace

Drupal\migrate

Code

public function __construct(MigrationPluginManagerInterface $migration_plugin_manager) {
  $this->migrationPluginManager = $migration_plugin_manager;
}