summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src
diff options
context:
space:
mode:
authorNathaniel Catchpole2017-08-15 05:08:32 (GMT)
committerNathaniel Catchpole2017-08-15 05:08:32 (GMT)
commitd7c496150e822342bfcd0a3004fb393740456f1f (patch)
tree1416dab475439921d2140a84289a4f8fe1604b71 /core/modules/node/src
parentdc5ca923d0a99641786c5e05d5b42484e2aca4ee (diff)
Issue #2569805 by quietone, Jo Fitzgerald, mikeryan, joelpittet, heddn, Adita, Miguel.kode, iMiksu, tvb, maxocub, juancasantito, phenaproxima, alexpott, neclimdul, xjm: For Drupal migration, identify the source module
Diffstat (limited to 'core/modules/node/src')
-rw-r--r--core/modules/node/src/Plugin/migrate/source/d6/Node.php4
-rw-r--r--core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php3
-rw-r--r--core/modules/node/src/Plugin/migrate/source/d6/NodeType.php3
-rw-r--r--core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php2
-rw-r--r--core/modules/node/src/Plugin/migrate/source/d7/Node.php2
-rw-r--r--core/modules/node/src/Plugin/migrate/source/d7/NodeRevision.php2
-rw-r--r--core/modules/node/src/Plugin/migrate/source/d7/NodeType.php2
7 files changed, 11 insertions, 7 deletions
diff --git a/core/modules/node/src/Plugin/migrate/source/d6/Node.php b/core/modules/node/src/Plugin/migrate/source/d6/Node.php
index ffa2659..1dc81f9 100644
--- a/core/modules/node/src/Plugin/migrate/source/d6/Node.php
+++ b/core/modules/node/src/Plugin/migrate/source/d6/Node.php
@@ -15,7 +15,9 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
* Drupal 6 node source from database.
*
* @MigrateSource(
- * id = "d6_node"
+ * id = "d6_node",
+ * source_module = "node"
+ *
* )
*/
class Node extends DrupalSqlBase {
diff --git a/core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php b/core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php
index f3296c2..a0103fc 100644
--- a/core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php
+++ b/core/modules/node/src/Plugin/migrate/source/d6/NodeRevision.php
@@ -7,7 +7,8 @@ use Drupal\Core\Database\Query\SelectInterface;
* Drupal 6 node revision source from database.
*
* @MigrateSource(
- * id = "d6_node_revision"
+ * id = "d6_node_revision",
+ * source_module = "node"
* )
*/
class NodeRevision extends Node {
diff --git a/core/modules/node/src/Plugin/migrate/source/d6/NodeType.php b/core/modules/node/src/Plugin/migrate/source/d6/NodeType.php
index b5a66ce..5ec0aae 100644
--- a/core/modules/node/src/Plugin/migrate/source/d6/NodeType.php
+++ b/core/modules/node/src/Plugin/migrate/source/d6/NodeType.php
@@ -9,7 +9,8 @@ use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
* Drupal 6 Node types source from database.
*
* @MigrateSource(
- * id = "d6_node_type"
+ * id = "d6_node_type",
+ * source_module = "node"
* )
*/
class NodeType extends DrupalSqlBase {
diff --git a/core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php b/core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php
index b5a6d4d..434007a 100644
--- a/core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php
+++ b/core/modules/node/src/Plugin/migrate/source/d6/ViewMode.php
@@ -7,7 +7,7 @@ namespace Drupal\node\Plugin\migrate\source\d6;
*
* @MigrateSource(
* id = "d6_view_mode",
- * source_provider = "content"
+ * source_module = "content"
* )
*/
class ViewMode extends ViewModeBase {
diff --git a/core/modules/node/src/Plugin/migrate/source/d7/Node.php b/core/modules/node/src/Plugin/migrate/source/d7/Node.php
index 451905c..1a9037e 100644
--- a/core/modules/node/src/Plugin/migrate/source/d7/Node.php
+++ b/core/modules/node/src/Plugin/migrate/source/d7/Node.php
@@ -17,7 +17,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
*
* @MigrateSource(
* id = "d7_node",
- * source_provider = "node"
+ * source_module = "node"
* )
*/
class Node extends FieldableEntity {
diff --git a/core/modules/node/src/Plugin/migrate/source/d7/NodeRevision.php b/core/modules/node/src/Plugin/migrate/source/d7/NodeRevision.php
index 89c1bcc..67071a7 100644
--- a/core/modules/node/src/Plugin/migrate/source/d7/NodeRevision.php
+++ b/core/modules/node/src/Plugin/migrate/source/d7/NodeRevision.php
@@ -7,7 +7,7 @@ namespace Drupal\node\Plugin\migrate\source\d7;
*
* @MigrateSource(
* id = "d7_node_revision",
- * source_provider = "node"
+ * source_module = "node"
* )
*/
class NodeRevision extends Node {
diff --git a/core/modules/node/src/Plugin/migrate/source/d7/NodeType.php b/core/modules/node/src/Plugin/migrate/source/d7/NodeType.php
index a0b2273..7f8290f 100644
--- a/core/modules/node/src/Plugin/migrate/source/d7/NodeType.php
+++ b/core/modules/node/src/Plugin/migrate/source/d7/NodeType.php
@@ -10,7 +10,7 @@ use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
*
* @MigrateSource(
* id = "d7_node_type",
- * source_provider = "node"
+ * source_module = "node"
* )
*/
class NodeType extends DrupalSqlBase {