function MigrateLookup::__construct

Same name in other branches
  1. 9 core/modules/migrate/src/MigrateLookup.php \Drupal\migrate\MigrateLookup::__construct()
  2. 10 core/modules/migrate/src/MigrateLookup.php \Drupal\migrate\MigrateLookup::__construct()
  3. 11.x 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 27

Class

MigrateLookup
Provides a migration lookup service.

Namespace

Drupal\migrate

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.