File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
src/Plugin/dgi_migrate_alter/spreadsheet Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,5 @@ type: module
33description : ' Providence College Customizations'
44core_version_requirement : ^8 || ^9 || ^10
55package : ' discoverygarden'
6+ dependencies :
7+ - drupal:migrate
Original file line number Diff line number Diff line change 44
55use Drupal \dgi_migrate_alter \Plugin \MigrationAlterBase ;
66use Drupal \dgi_migrate_alter \Plugin \MigrationAlterInterface ;
7+ use Drupal \Core \Annotation \Translation ;
78
89/**
910 * Alter for dssi_node migration.
@@ -37,18 +38,14 @@ public function alter(array &$migration): void {
3738 'edition ' ,
3839 'issuance ' ,
3940 'frequency ' ,
40- 'date_text ' ,
41+ 'date_note ' ,
4142 ];
4243
4344 $ process ['field_origin_information ' ][2 ]['values ' ]['field_date_note ' ] = [
4445 [
4546 'plugin ' => 'skip_on_empty ' ,
4647 'method ' => 'process ' ,
47- 'source ' => 'parent_value/date_text ' ,
48- ],
49- [
50- 'plugin ' => 'dgi_migrate.process.explode ' ,
51- 'delimiter ' => '^ ' ,
48+ 'source ' => 'parent_value/date_note ' ,
5249 ],
5350 ];
5451 }
You can’t perform that action at this time.
0 commit comments