You are here

public function MigrateStub::__construct in Drupal 8

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