diff --git a/core/modules/migrate/src/Plugin/MigrationProviderInterface.php b/core/modules/migrate/src/Plugin/MigrationProviderInterface.php index aac4a17..7979255 100644 --- a/core/modules/migrate/src/Plugin/MigrationProviderInterface.php +++ b/core/modules/migrate/src/Plugin/MigrationProviderInterface.php @@ -12,7 +12,7 @@ * * @return string|null * The plugin provider or NULL if a provider is not found. Note that for a - * source plugin the provider is expected to be the name of the module in + * source plugin the provider is expected to be the name of the extension in * the source database. */ public function getProvider(); diff --git a/core/modules/migrate/src/Plugin/migrate/destination/Config.php b/core/modules/migrate/src/Plugin/migrate/destination/Config.php index 8250440..5a30007 100644 --- a/core/modules/migrate/src/Plugin/migrate/destination/Config.php +++ b/core/modules/migrate/src/Plugin/migrate/destination/Config.php @@ -156,7 +156,7 @@ public function getProvider() { $destination_module = parent::getProvider(); // The migrate modules are not valid destination modules. if (in_array($destination_module, ['migrate', 'migrate_drupal', 'migrate_drupal_ui'], TRUE)) { - $destination_module = (!empty($this->configuration['config_name'])) ? explode('.', $this->configuration['config_name'], 2)[0] : NULL; + $destination_module = !empty($this->configuration['config_name']) ? explode('.', $this->configuration['config_name'], 2)[0] : NULL; } return $destination_module; }