public function TestMigration::setMigrationPluginManager in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/tests/src/Unit/MigrationTest.php \Drupal\Tests\migrate\Unit\TestMigration::setMigrationPluginManager()
- 9 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 257 - Contains \Drupal\Tests\migrate\Unit\MigrationTest.
Class
- TestMigration
- Defines the TestMigration class.
Namespace
Drupal\Tests\migrate\UnitCode
public function setMigrationPluginManager(MigrationPluginManagerInterface $plugin_manager) {
$this->migrationPluginManager = $plugin_manager;
}