By heddn on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
6.1.x
Introduced in version:
6.1.0
Issue links:
Description:
Several parameters previously were not previously needed by the migrate executable. Now they are required.
Arguments for MigrateExecutable previously were:
$executable = new MigrateExecutable(
MigrationInterface $migration,
MigrateMessageInterface $message, // optional
array $options, // optional
);
Now they are:
$executable = new MigrateExecutable(
MigrationInterface $migration,
MigrateMessageInterface $message, // required
KeyValueFactoryInterface $keyValue, // required
TimeInterface $time, // required
TranslationInterface $translation, // required
array $options, // optional
);
Arguments for MigrateBatchExecutable previously were:
$executable = new MigrateBatchExecutable(
MigrationInterface $migration,
MigrateMessageInterface $message, // optional
array $options, // optional
);
Now they are:
$executable = new MigrateBatchExecutable(
MigrationInterface $migration,
MigrateMessageInterface $message, // required
KeyValueFactoryInterface $keyValue, // required
TimeInterface $time, // required
TranslationInterface $translation, // required
MigrationPluginManagerInterface $migrationPluginManager, // required
array $options, // optional
);
Impacts:
Module developers