From 4edd2db688a4a6f8ec026b6f8a38a5a2ce12db92 Mon Sep 17 00:00:00 2001 From: catch <6915-catch@users.noreply.drupalcode.org> Date: Tue, 8 Oct 2024 10:44:01 +0100 Subject: [PATCH] Issue #3247205 by beatrizrodrigues, quietone, joachim: MigrateDestinationInterface::rollback() should document that its $destination_identifier parameter is an associative array --- .../migrate/src/Plugin/MigrateDestinationInterface.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php b/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php index 371c8cfcff0..382aeb2bb7f 100644 --- a/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php +++ b/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php @@ -122,7 +122,10 @@ interface MigrateDestinationInterface extends PluginInspectionInterface { * Delete the specified destination object from the target Drupal. * * @param array $destination_identifier - * The ID of the destination object to delete. + * An associative array of destination IDs for the object to delete. The + * array keys are defined by the + * \Drupal\migrate\Plugin\MigrateDestinationInterface::getIds() method used + * by the destination object. */ public function rollback(array $destination_identifier);