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.
The http://drupal.org/project/physical module provides a new "physical_weight" field. The attached patch adds support for this field as a destination.
Comment | File | Size | Author |
---|---|---|---|
physical_weight_field.patch | 1.78 KB | stella | |
Comments
Comment #1
mikeryanThis would best go into the Physical Fields module itself. This patch would need the following changes:
1. Add physical_weight_migrate_api().
2. Rename physical_weight_field.inc to physical_weight.migrate.inc, so hook_migrate_api() can be found automatically.
3. Add physical_weight.migrate.inc to physical_weight.info.
I see there's a separate request with some proposed code (no formal patches) at #1626578: Add Migrate support to 'Physical Fields', one of these should be marked as a duplicate of the other.
Comment #2
jcisio CreditAttribution: jcisio commentedDuplicate of #1626578: Add Migrate support to 'Physical Fields'.