Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website] / web / core / modules / migrate / src / Plugin / MigrateDestinationInterface.php
index 866e80cbe05345c415a9792e9d8ee3b73c595f6e..565b4af72d5b15a307de72cdec1959163c1902d8 100644 (file)
@@ -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();
+
 }