function MigrateStub::__construct

Same name in other branches
  1. 9 core/modules/migrate/src/MigrateStub.php \Drupal\migrate\MigrateStub::__construct()
  2. 8.9.x core/modules/migrate/src/MigrateStub.php \Drupal\migrate\MigrateStub::__construct()
  3. 10 core/modules/migrate/src/MigrateStub.php \Drupal\migrate\MigrateStub::__construct()

Constructs a MigrationStub object.

Parameters

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

File

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

Class

MigrateStub
Provides the migrate stubbing 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.