X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Fsrc%2FAnnotation%2FMigrateDestination.php;h=b06fbf66bb69fe301415e78ee3a26208bed0142c;hb=1c1cb0980bfa6caf0c24cce671b6bb541dc87583;hp=1fd51d70e5d9218c126c75b3b59ce3899cda9afb;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/migrate/src/Annotation/MigrateDestination.php b/web/core/modules/migrate/src/Annotation/MigrateDestination.php index 1fd51d70e..b06fbf66b 100644 --- a/web/core/modules/migrate/src/Annotation/MigrateDestination.php +++ b/web/core/modules/migrate/src/Annotation/MigrateDestination.php @@ -13,7 +13,7 @@ use Drupal\Component\Annotation\Plugin; * \Drupal\migrate\Plugin\migrate\destination\UrlAlias * * @see \Drupal\migrate\Plugin\MigrateDestinationInterface - * @see \Drupal\migrate\Plugin\destination\DestinationBase + * @see \Drupal\migrate\Plugin\migrate\destination\DestinationBase * @see \Drupal\migrate\Plugin\MigrateDestinationPluginManager * @see \Drupal\migrate\Annotation\MigrateSource * @see \Drupal\migrate\Annotation\MigrateProcessPlugin @@ -43,4 +43,15 @@ class MigrateDestination extends Plugin { */ public $requirements_met = TRUE; + /** + * Identifies the system handling the data the destination plugin will write. + * + * The destination plugin itself determines how the value is used. For + * example, Migrate Drupal's destination plugins expect destination_module to + * be the name of a module that must be installed on the destination. + * + * @var string + */ + public $destination_module; + }