Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm migrating a Drupal 6 site to Drupal 7 at the moment where they are using the ISBN Field module to store the ISBN number of books in their shop. Attached is a patch which adds support for this as a new destination field.
Note, there's no stable D7 version of the module yet but there's a patch in the issue queue for it which is marked RTBC.
Comment | File | Size | Author |
---|---|---|---|
isbn.patch | 1.45 KB | stella | |
Comments
Comment #1
mikeryanThis would best go into the ISBN module itself. This patch would need the following changes:
1. Add isbn_migrate_api().
2. Rename isbn.inc to isbn.migrate.inc, so hook_migrate_api() can be found automatically.
3. Add isbn.migrate.inc to isbn.info.
Noting your D6-to-D7 scenario, the migrate_d2d module in my sandbox automatically detects the table columns on both sides so they can be mapped directly without custom handlers.
Comment #2
Jon PughI would consider adding this with a clean patch against 6.x-1.x....