Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MigrationConfigurationTrait.php

function 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 248

Class

MigrationConfigurationTrait
Configures the appropriate migrations for a given source Drupal database.

Namespace

Drupal\migrate_drupal

Code

protected function getMigrationPluginManager() {
    if (!$this->migrationPluginManager) {
        $this->migrationPluginManager = \Drupal::service('plugin.manager.migration');
    }
    return $this->migrationPluginManager;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal