Created
October 18, 2023 15:22
-
-
Save junaidpv/302f36b9a0767d4bb3ede1283bfbfc40 to your computer and use it in GitHub Desktop.
Fix "The "file_download_link" plugin does not exist." error. the media_extra module to be installed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/modules/file/src/Plugin/migrate/field/d6/FileField.php b/core/modules/file/src/Plugin/migrate/field/d6/FileField.php | |
index 804e34a655..0d4b4d3f64 100644 | |
--- a/core/modules/file/src/Plugin/migrate/field/d6/FileField.php | |
+++ b/core/modules/file/src/Plugin/migrate/field/d6/FileField.php | |
@@ -38,6 +38,7 @@ public function getFieldFormatterMap() { | |
'image_plain' => 'image', | |
'image_nodelink' => 'image', | |
'image_imagelink' => 'image', | |
+ 'file_download_link' => 'generic_media_link', | |
]; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment