You are here

public function MigrateStub::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}