From 98f781e1fd77ad1c39855acfb7b50f61dd0cad44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Thu, 16 Nov 2023 11:35:30 -0500 Subject: [PATCH] Add help info in an API file --- migration_helpers.api.php | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 migration_helpers.api.php diff --git a/migration_helpers.api.php b/migration_helpers.api.php new file mode 100644 index 0000000..22b6e79 --- /dev/null +++ b/migration_helpers.api.php @@ -0,0 +1,38 @@ + 'Public Memory', + 'Housing' => 'Social Cohesion', + 'Health' => 'Health Equity', + 'Education' => FALSE, + 'Equity' => FALSE, + 'Office Space' => FALSE, + 'Other' => FALSE, + ]; + migration_helpers_move_terms( + destination_vocabulary: 'focus_area', + source_field: 'field_design_type', + destination_field: 'field_focus', + bundle: 'work', + mapping: $mapping, + ); +}