You are here

protected function Sql::getMigrationPluginManager in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/id_map/Sql.php \Drupal\migrate\Plugin\migrate\id_map\Sql::getMigrationPluginManager()

Returns the migration plugin manager.

@todo Inject as a dependency in https://www.drupal.org/node/2919158.

Return value

\Drupal\migrate\Plugin\MigrationPluginManagerInterface The migration plugin manager.

1 call to Sql::getMigrationPluginManager()
Sql::getHighestId in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Returns the highest ID tracked by the implementing plugin.

File

core/modules/migrate/src/Plugin/migrate/id_map/Sql.php, line 996

Class

Sql
Defines the sql based ID map implementation.

Namespace

Drupal\migrate\Plugin\migrate\id_map

Code

protected function getMigrationPluginManager() {
  return \Drupal::service('plugin.manager.migration');
}