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

Breadcrumb

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

function SourcePluginBase::getSourceModule

Overrides MigrateSourceInterface::getSourceModule

1 call to SourcePluginBase::getSourceModule()
DrupalSqlBase::checkRequirements in core/modules/migrate_drupal/src/Plugin/migrate/source/DrupalSqlBase.php
Checks if requirements for this plugin are OK.

File

core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php, line 625

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function getSourceModule() {
    if (!empty($this->configuration['source_module'])) {
        return $this->configuration['source_module'];
    }
    elseif (!empty($this->pluginDefinition['source_module'])) {
        return $this->pluginDefinition['source_module'];
    }
    return NULL;
}
RSS feed
Powered by Drupal