projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
migrate_drupal
/
src
/
Plugin
/
migrate
/
field
/
NodeReference.php
diff --git
a/web/core/modules/migrate_drupal/src/Plugin/migrate/field/NodeReference.php
b/web/core/modules/migrate_drupal/src/Plugin/migrate/field/NodeReference.php
index e8c2dd5e6de4d84f3af0f76d9b80a814924e5359..de8c4f50950e11257692228aa8ba5a79d550ba51 100644
(file)
--- a/
web/core/modules/migrate_drupal/src/Plugin/migrate/field/NodeReference.php
+++ b/
web/core/modules/migrate_drupal/src/Plugin/migrate/field/NodeReference.php
@@
-20,14
+20,13
@@
class NodeReference extends FieldPluginBase {
/**
* {@inheritdoc}
*/
/**
* {@inheritdoc}
*/
- public function
processFieldValues
(MigrationInterface $migration, $field_name, $data) {
+ public function
defineValueProcessPipeline
(MigrationInterface $migration, $field_name, $data) {
$process = [
'plugin' => 'sub_process',
'source' => $field_name,
'process' => [
'target_id' => [
$process = [
'plugin' => 'sub_process',
'source' => $field_name,
'process' => [
'target_id' => [
- 'plugin' => 'migration_lookup',
- 'migration' => 'd6_node',
+ 'plugin' => 'get',
'source' => 'nid',
],
],
'source' => 'nid',
],
],