X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Fsrc%2FPlugin%2FMigrateDestinationInterface.php;h=565b4af72d5b15a307de72cdec1959163c1902d8;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=866e80cbe05345c415a9792e9d8ee3b73c595f6e;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php b/web/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php index 866e80cbe..565b4af72 100644 --- a/web/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php +++ b/web/core/modules/migrate/src/Plugin/MigrateDestinationInterface.php @@ -11,7 +11,7 @@ use Drupal\migrate\Row; * Destinations are responsible for persisting source data into the destination * Drupal. * - * @see \Drupal\migrate\Plugin\destination\DestinationBase + * @see \Drupal\migrate\Plugin\migrate\destination\DestinationBase * @see \Drupal\migrate\Plugin\MigrateDestinationPluginManager * @see \Drupal\migrate\Annotation\MigrateDestination * @see plugin_api @@ -133,4 +133,12 @@ interface MigrateDestinationInterface extends PluginInspectionInterface { */ public function rollbackAction(); + /** + * Gets the destination module handling the destination data. + * + * @return string|null + * The destination module or NULL if not found. + */ + public function getDestinationModule(); + }