From 5e3d693aaa0278ea3fa9db08704ecc0d19e7304d Mon Sep 17 00:00:00 2001 From: Keegan Rankin <keegan@agaric.coop> Date: Wed, 6 Mar 2024 15:22:10 -0800 Subject: [PATCH] Correct the machine name of the people content type in the image to media transformation --- web/modules/custom/geo_upgrade/geo_upgrade.deploy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/modules/custom/geo_upgrade/geo_upgrade.deploy.php b/web/modules/custom/geo_upgrade/geo_upgrade.deploy.php index bff2fcd..7d398e9 100644 --- a/web/modules/custom/geo_upgrade/geo_upgrade.deploy.php +++ b/web/modules/custom/geo_upgrade/geo_upgrade.deploy.php @@ -17,7 +17,7 @@ use Psr\Log\LogLevel; function geo_upgrade_deploy_move_images_to_media() { $transformations = [ ['paragraph', ['field_image'], 'field_media_image', ['image', 'slide']], - ['node', ['field_image'], 'field_media_image', ['person', 'article', 'blog', 'collection', 'gleaning']], + ['node', ['field_image'], 'field_media_image', ['people', 'article', 'blog', 'collection', 'gleaning']], // Leaving out the following for now, unless requested later // ['paragraph', ['field_file'], 'field_media_document', ['file']], // field_media_document would need to be created on file paragraph