function Sql::getMigrationPluginManager

Same name in other branches
  1. 8.9.x 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.

Return value

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

Deprecated

in drupal:9.5.0 and is removed from drupal:11.0.0. Use $this->migrationPluginManager instead.

See also

https://www.drupal.org/node/3277306

1 call to Sql::getMigrationPluginManager()
TestSqlIdMap::getMigrationPluginManager in core/modules/migrate/tests/src/Unit/TestSqlIdMap.php
Returns the migration plugin manager.
1 method overrides Sql::getMigrationPluginManager()
TestSqlIdMap::getMigrationPluginManager in core/modules/migrate/tests/src/Unit/TestSqlIdMap.php
Returns the migration plugin manager.

File

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

Class

Sql
Defines the sql based ID map implementation.

Namespace

Drupal\migrate\Plugin\migrate\id_map

Code

protected function getMigrationPluginManager() {
    @trigger_error('deprecated in drupal:9.5.0 and is removed from drupal:11.0.0. Use $this->migrationPluginManager instead. See https://www.drupal.org/node/3277306', E_USER_DEPRECATED);
    return $this->migrationPluginManager;
}

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