Skip to content

Commit

Permalink
Add remote media line.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismacdonaldw committed Aug 14, 2024
1 parent c74107a commit eece3ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Plugin/dgi_migrate_alter/foxml/DgisNodesAlter.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ public function alter(array &$migration) {
'plugin' => 'null_coalesce'
];

$process['field_remote_media_url'] = $process['field_ismn'];
$process['field_remote_media_url'][0]['query'] = 'mods:identifier[@displayLabel="remote media URL"]';

$to_remove = [
['field_version_identifier'],
['field_resource_publication_statu'],
Expand Down

0 comments on commit eece3ec

Please sign in to comment.