Problem/Motivation
We need to be able to migrate video fields from Drupal 7 to Drupal 8. I checked the issue queue and there were no issues/patches.
Proposed resolution
Write migration integration.
Remaining tasks
- Patch
- Test
- Commit
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | migration_integration-2843598-4.patch | 1.16 KB | hussainweb |
Comments
Comment #2
hussainwebInitial patch. This works when migrating fields, formatter, and widgets. There was a column named
thumbnailearlier but can't find anything in the new schema. There is a data column but I am not sure how to store thumbnail's fid in there. Any tips?Comment #3
hussainwebMoved the file to correct location.
Comment #4
hussainwebThe migrations worked but it was migrating as a file field rather than video. That was because of a method in FileField which I was extending. I re-evaluated the approach and see that I don't need to extend that class as I am overriding almost every method. This patch works as expected and migrates to a video field.
Comment #5
hypertext200This has been pushed to dev. Thanks