Skip to content

Commit 592387a

Browse files
committed
Cleanup for review.
1 parent 22f242c commit 592387a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/Plugin/dgi_migrate_alter/spreadsheet/DssiNodeAlter.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,9 @@ public function alter(array &$migration): void {
4141
'date_note',
4242
];
4343

44-
$process['field_origin_information'][2]['values']['field_date_note'] = [
45-
[
46-
'plugin' => 'skip_on_empty',
47-
'method' => 'process',
48-
'source' => 'parent_value/date_note',
49-
],
50-
];
44+
// Using frequency as a template.
45+
$process['field_origin_information'][2]['values']['field_date_note'] = $process['field_origin_information'][2]['values']['field_frequency'];
46+
$process['field_origin_information'][2]['values']['field_date_note'][0]['source'] = 'parent_value/date_note';
5147
}
5248

5349
}

0 commit comments

Comments
 (0)