You are here

protected function Sql::getMigrationPluginManager in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/id_map/Sql.php \Drupal\migrate\Plugin\migrate\id_map\Sql::getMigrationPluginManager()
  2. 10 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 976

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');
}