function TestMigration::setMigrationPluginManager

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setMigrationPluginManager()
  2. 8.9.x core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setMigrationPluginManager()
  3. 11.x core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setMigrationPluginManager()

Sets the plugin manager service.

Parameters

\Drupal\migrate\Plugin\MigrationPluginManagerInterface $plugin_manager: The plugin manager service.

File

core/modules/migrate/tests/src/Unit/MigrationTest.php, line 343

Class

TestMigration
Defines the TestMigration class.

Namespace

Drupal\Tests\migrate\Unit

Code

public function setMigrationPluginManager(MigrationPluginManagerInterface $plugin_manager) {
    $this->migrationPluginManager = $plugin_manager;
}

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