Skip to content
Snippets Groups Projects

Add derivatives support

2 files
+ 3
7
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -65,9 +65,7 @@ class MigrateCsAdminSettingsForm extends ConfigFormBase implements ContainerInje
$configOptions = $this->config('migrate_cs.options');
$migrations = $this->migratePluginManager->getDefinitions();
if ($migrations) {
foreach ($migrations as $migration) {
$migrationId = $migration['id'];
foreach ($migrations as $migrationId => $migration) {
$form[$migrationId] = [
'#type' => 'details',
@@ -144,8 +142,7 @@ class MigrateCsAdminSettingsForm extends ConfigFormBase implements ContainerInje
$migrations = $this->migratePluginManager->getDefinitions();
if ($migrations) {
foreach ($migrations as $migration) {
$migrationId = $migration['id'];
foreach ($migrations as $migrationId => $migration) {
$configOptions
->set("{$migrationId}_cs", $form_state->getValue("{$migrationId}_cs"))
->set("{$migrationId}_interval", $form_state->getValue("{$migrationId}_interval"))
Loading