removed hightwater from materiau migration
This commit is contained in:
parent
ab3379e361
commit
e45a31aa43
|
@ -16,9 +16,6 @@ source:
|
||||||
plugin: d7_node_materiau
|
plugin: d7_node_materiau
|
||||||
node_type: materiau
|
node_type: materiau
|
||||||
batch_size: 500
|
batch_size: 500
|
||||||
high_water_property:
|
|
||||||
name: changed
|
|
||||||
alias: 'n'
|
|
||||||
process:
|
process:
|
||||||
type:
|
type:
|
||||||
plugin: default_value
|
plugin: default_value
|
||||||
|
|
|
@ -16,9 +16,6 @@ source:
|
||||||
plugin: d7_node_materiau_i18n
|
plugin: d7_node_materiau_i18n
|
||||||
node_type: materiau
|
node_type: materiau
|
||||||
translations: true
|
translations: true
|
||||||
high_water_property:
|
|
||||||
name: changed
|
|
||||||
alias: 'n'
|
|
||||||
process:
|
process:
|
||||||
nid:
|
nid:
|
||||||
plugin: migration_lookup
|
plugin: migration_lookup
|
||||||
|
|
|
@ -81,7 +81,7 @@ sleep 5
|
||||||
echo " "
|
echo " "
|
||||||
echo "Migrating Nodes"
|
echo "Migrating Nodes"
|
||||||
echo "Migrating Materials"
|
echo "Migrating Materials"
|
||||||
drush mim d7_node_materiau --feedback="1000"
|
drush mim d7_node_materiau --update --feedback="1000"
|
||||||
echo " "
|
echo " "
|
||||||
drush mim d7_node_materiau_i18n --feedback="1000"
|
drush mim d7_node_materiau_i18n --feedback="1000"
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
|
@ -11,9 +11,9 @@ source:
|
||||||
plugin: d7_node_materiau
|
plugin: d7_node_materiau
|
||||||
node_type: materiau
|
node_type: materiau
|
||||||
batch_size: 500
|
batch_size: 500
|
||||||
high_water_property:
|
# high_water_property:
|
||||||
name: changed
|
# name: changed
|
||||||
alias: n
|
# alias: n
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
plugin: entity:node
|
plugin: entity:node
|
||||||
|
|
|
@ -11,9 +11,9 @@ source:
|
||||||
plugin: d7_node_materiau_i18n
|
plugin: d7_node_materiau_i18n
|
||||||
node_type: materiau
|
node_type: materiau
|
||||||
translations: true
|
translations: true
|
||||||
high_water_property:
|
# high_water_property:
|
||||||
name: changed
|
# name: changed
|
||||||
alias: n
|
# alias: n
|
||||||
|
|
||||||
destination:
|
destination:
|
||||||
plugin: entity:node
|
plugin: entity:node
|
||||||
|
|
|
@ -135,7 +135,8 @@ class D7NodeMateriau extends FieldableEntity {
|
||||||
foreach ($row->getSourceProperty('field_materiau_ref') as $key => $value) {
|
foreach ($row->getSourceProperty('field_materiau_ref') as $key => $value) {
|
||||||
$linked_materials[] = $value['target_id'];
|
$linked_materials[] = $value['target_id'];
|
||||||
}
|
}
|
||||||
// print_r($linked_materials);
|
// drush_print("\n".'-- '.$nid."\t".$title);
|
||||||
|
// drush_print(print_r($linked_materials, true));
|
||||||
}
|
}
|
||||||
$row->setSourceProperty('linked_materials', $linked_materials);
|
$row->setSourceProperty('linked_materials', $linked_materials);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue