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

Breadcrumb

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

function Migration::getSourcePlugin

Overrides MigrationInterface::getSourcePlugin

1 call to Migration::getSourcePlugin()
Migration::checkRequirements in core/modules/migrate/src/Plugin/Migration.php
Checks if requirements for this plugin are OK.

File

core/modules/migrate/src/Plugin/Migration.php, line 376

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

public function getSourcePlugin() {
    if (!isset($this->sourcePlugin)) {
        $this->sourcePlugin = $this->sourcePluginManager
            ->createInstance($this->source['plugin'], $this->source, $this);
    }
    return $this->sourcePlugin;
}
RSS feed
Powered by Drupal