protected function MigrationConfigurationTrait::getMigrationPluginManager in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate_drupal/src/MigrationConfigurationTrait.php \Drupal\migrate_drupal\MigrationConfigurationTrait::getMigrationPluginManager()
Gets the migration plugin manager service.
Return value
\Drupal\migrate\Plugin\MigrationPluginManagerInterface The migration plugin manager service.
File
- core/
modules/ migrate_drupal/ src/ MigrationConfigurationTrait.php, line 270
Class
- MigrationConfigurationTrait
- Configures the appropriate migrations for a given source Drupal database.
Namespace
Drupal\migrate_drupalCode
protected function getMigrationPluginManager() {
if (!$this->migrationPluginManager) {
$this->migrationPluginManager = \Drupal::service('plugin.manager.migration');
}
return $this->migrationPluginManager;
}