diff core/modules/migrate_drupal/src/Annotation/MigrateField.php @ 14:1fec387a4317

Update Drupal core to 8.5.2 via Composer
author Chris Cannam
date Mon, 23 Apr 2018 09:46:53 +0100
parents 4c8ae668cc8c
children c2387f117808
line wrap: on
line diff
--- a/core/modules/migrate_drupal/src/Annotation/MigrateField.php	Mon Apr 23 09:33:26 2018 +0100
+++ b/core/modules/migrate_drupal/src/Annotation/MigrateField.php	Mon Apr 23 09:46:53 2018 +0100
@@ -49,6 +49,26 @@
    *
    * @var int[]
    */
-  public $core = [];
+  public $core;
+
+  /**
+   * Identifies the system providing the data the field plugin will read.
+   *
+   * The source_module is expected to be the name of a Drupal module that must
+   * must be installed in the source database.
+   *
+   * @var string
+   */
+  public $source_module;
+
+  /**
+   * Identifies the system handling the data the destination plugin will write.
+   *
+   * The destination_module is expected to be the name of a Drupal module on the
+   * destination site that must be installed.
+   *
+   * @var string
+   */
+  public $destination_module;
 
 }